Skip to content

Commit

Permalink
Merge pull request #22 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 7fcafe4 + 2700cc3 commit 8b5d0b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
run: echo -e "[default]\nhost=${{ secrets.akamai_host }}\nclient_token=${{ secrets.akamai_client_token }}\naccess_token=${{ secrets.akamai_access_token }}\nclient_secret=${{ secrets.akamai_client_secret }}" > ~/.edgerc
- name: Activate to staging
run: |
akamai --accountkey 1-5BYUG1 edgeworkers lv 80521
echo "--------------------"
VERSION=$(grep "edgeworker-version" bundle.json | grep -Eo '"[0-9\.]+"')
echo "akamai --accountkey ${{ vars.ACCOUNT_KEY }} edgeworkers activate ${{ vars.EW_ID }} staging $VERSION"
akamai --accountkey ${{ vars.ACCOUNT_KEY }} edgeworkers activate ${{ vars.EW_ID }} staging $VERSION
Expand Down

0 comments on commit 8b5d0b5

Please sign in to comment.