Skip to content

Commit

Permalink
Merge pull request #27 from glukki/update-deploy-action
Browse files Browse the repository at this point in the history
Update to `cloudflare/wrangler-action@v3`
  • Loading branch information
glukki authored Jun 5, 2024
2 parents 2333e1d + 885c72f commit e5ee175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:

- name: Deploy
id: deploy
uses: cloudflare/wrangler-action@2.0.0
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: --version
postCommands: |
text="$(wrangler publish)"
echo "::set-output name=value::${text##*$'\n'}"
text="$(wrangler deploy)"
echo "value=${text##*$'\n'}" >> $GITHUB_OUTPUT
- name: Check status
uses: srt32/uptime@master
Expand Down

0 comments on commit e5ee175

Please sign in to comment.