From 48edf3e766a55690b51f073b2902fb8578e8df1e Mon Sep 17 00:00:00 2001 From: Liam Horne Date: Thu, 3 Oct 2024 17:27:42 -0400 Subject: [PATCH] fix: fix invalid workflow config --- .github/workflows/deploy.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 926d49d..b23cc45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,9 +9,6 @@ on: jobs: deploy: runs-on: ubuntu-latest - strategy: - matrix: - target: [ethglobal] # add more here for other accounts; implies CLASPRC_{NAME} exists w/ oauth env: SCRIPT_ID: "1eKtnybTCz-GKohMdtdEKVDBUzFK3suniSAT0UDEKsM_Fm5dR9aRMs3WN" steps: @@ -32,16 +29,15 @@ jobs: - name: Set up OAuth credentials env: - CLASPRC_CONTENT: ${{ secrets.CLASPRC_${{ matrix.target | upper }} }} + CLASPRC_CONTENT: ${{ secrets.CLASPRC_ETHGLOBAL }} run: | echo "$CLASPRC_CONTENT" | base64 -d > ~/.clasprc.json - name: Build the latest run: npm run build - - name: Deploy ${{ matrix.target }} + - name: Deploy ethglobal run: | - echo "Deploying ${{ matrix.target }}..." + echo "Deploying ethglobal..." cd ${{ github.workspace }}/allhands - clasp push && echo "Deploying ${{ matrix.target }}... done." - + clasp push && echo "Deploying ethglobal... done."