Skip to content

Commit

Permalink
fix: fix invalid workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
snario committed Oct 3, 2024
1 parent 01b4158 commit 48edf3e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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."

0 comments on commit 48edf3e

Please sign in to comment.