Skip to content

Commit

Permalink
Merge pull request #30 from yosepkim/refactor-gitaction
Browse files Browse the repository at this point in the history
adds debug code
  • Loading branch information
yosepkim authored Nov 3, 2023
2 parents d4af258 + 24d94e8 commit ab5245f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
run: tar cvzf tarball.tgz main.js bundle.json edgekv.js edgekv_tokens.js services
- name: Push EdgeWorker code
run: |
VERSION=$(grep "edgeworker-version" bundle.json | grep -Eo '"[0-9\.]+"')
akamai --accountkey ${{ vars.ACCOUNT_KEY }} edgeworkers upload --bundle tarball.tgz ${{ vars.EW_ID }}
VERSION=$(grep "edgeworker-version" bundle.json | grep -Eo '"[0-9\.]+"')
akamai --accountkey ${{ vars.ACCOUNT_KEY }} edgeworkers activate ${{ vars.EW_ID }} staging $VERSION
push-to-staging:
needs: deploy
Expand Down

0 comments on commit ab5245f

Please sign in to comment.