Skip to content

Add Cloudflare Pages deployment workflow#28

Merged
haochenx merged 8 commits intomainfrom
webapp-cloudflare-deployment
Jun 18, 2025
Merged

Add Cloudflare Pages deployment workflow#28
haochenx merged 8 commits intomainfrom
webapp-cloudflare-deployment

Conversation

@haochenx
Copy link
Member

@haochenx haochenx commented Jun 18, 2025

Summary

  • Added GitHub Actions workflow to automatically deploy webapp to Cloudflare Pages
  • Production deployments on push to main (with tests)
  • Preview deployments on pull requests (without tests for speed)

Configuration Required

Before this workflow can run, the following GitHub secrets need to be added:

  • CLOUDFLARE_ACCOUNT_ID
  • CLOUDFLARE_API_TOKEN

Deployment Details

  • Project name: pyfinalo-webapp
  • Build command: make build-webapp
  • Output directory: webapp/app/dist
  • Production URL: https://pyfinalo-webapp.pages.dev (after first deployment)

Test plan

  • Workflow syntax is valid
  • Secrets will need to be configured before first run
    - [ ] First deployment will create the Cloudflare Pages project

🤖 Generated with Claude Code

@github-actions
Copy link

🚀 Webapp deployed!

Preview URL: https://webapp-cloudflare-deployment.pyfinalo-webapp.pages.dev

The deployment should be available shortly. If the link doesn't work immediately, please wait a moment for Cloudflare to propagate the changes.

@github-actions
Copy link

🚀 Webapp deployed!

Preview URL: https://webapp-cloudflare-deployment.pyfinalo-webapp.pages.dev

The deployment should be available shortly. If the link doesn't work immediately, please wait a moment for Cloudflare to propagate the changes.

@github-actions
Copy link

🚀 Webapp deployed!

Preview URL: https://webapp-cloudflare-deployment.pyfinalo-webapp.pages.dev

The deployment should be available shortly. If the link doesn't work immediately, please wait a moment for Cloudflare to propagate the changes.

@haochenx
Copy link
Member Author

@claude fix ci error

@claude

This comment was marked as outdated.

@haochenx haochenx enabled auto-merge (squash) June 18, 2025 02:33
@github-actions
Copy link

🚀 Webapp deployed!

Preview URL: https://webapp-cloudflare-deployment.pyfinalo-webapp.pages.dev

The deployment should be available shortly. If the link doesn't work immediately, please wait a moment for Cloudflare to propagate the changes.

@haochenx haochenx merged commit 4f76b60 into main Jun 18, 2025
5 checks passed
@haochenx haochenx deleted the webapp-cloudflare-deployment branch June 18, 2025 02:38
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.

1 participant