Skip to content

Commit

Permalink
Update GitHub Actions workflow to use 'wrangler deploy' and modify wr…
Browse files Browse the repository at this point in the history
…angler.toml main entry
  • Loading branch information
m-walas committed Feb 18, 2025
1 parent 7f2882f commit 629dbdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: npm install -g wrangler

- name: Publish Worker
run: wrangler publish
run: wrangler deploy
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
2 changes: 1 addition & 1 deletion wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "harmobot"
type = "javascript"
main = "worker.js"
account_id = "80f49a0306abf4be4df45242f9799718"
workers_dev = true
compatibility_date = "2025-02-18"
Expand Down

0 comments on commit 629dbdd

Please sign in to comment.