Skip to content

Add deploy action#13

Closed
FrancocDev wants to merge 2 commits intoSh4yy:mainfrom
FrancocDev:main
Closed

Add deploy action#13
FrancocDev wants to merge 2 commits intoSh4yy:mainfrom
FrancocDev:main

Conversation

@FrancocDev
Copy link
Copy Markdown

Add deploy action to make the "Deploy with Workers" work!

Copilot AI review requested due to automatic review settings January 15, 2026 16:52
@FrancocDev FrancocDev closed this by deleting the head repository Jan 15, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub Actions deployment automation to enable continuous deployment of the Cloudflare Worker to production on pushes to the main branch. It also updates documentation to clarify the TOKEN secret setup for direct deployments.

Changes:

  • Added GitHub Actions workflow for automatic deployment to Cloudflare Workers
  • Updated README to clarify TOKEN setup instructions for direct Cloudflare deployment

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/deploy.yml New GitHub Actions workflow that deploys to Cloudflare Workers on main branch pushes
README.md Updated deployment instructions with clarification about setting TOKEN in Cloudflare Dashboard

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
4. Deploy the worker with `npm run deploy`

Or deploy directly to Cloudflare
Or deploy directly to Cloudflare and set TOKEN from your Cloudflare Dashboad.
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'Dashboad' to 'Dashboard'.

Copilot uses AI. Check for mistakes.
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
secrets: |
TOKEN No newline at end of file
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The secrets field expects key-value pairs but only the key 'TOKEN' is provided without a value. To pass the TOKEN secret to Wrangler, you need to provide the actual secret value from GitHub Secrets, for example: 'TOKEN=${{ secrets.TOKEN }}' or use the 'secretsJson' parameter instead if the secret should be retrieved from Cloudflare's environment.

Suggested change
TOKEN
TOKEN=${{ secrets.TOKEN }}

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants