forgejo actions workflow to publish a static site to cloudflare pages
Find a file
2024-11-25 13:39:17 -05:00
.woodpecker fix!: automatic project creation is broken 2024-11-25 13:39:17 -05:00
.gitattributes feat: woodpecker workflow configuration added to linguist detection 2024-11-11 09:30:34 -05:00
Dockerfile a 2024-11-07 20:27:50 -05:00
index.html Add index.html 2024-11-07 23:38:21 +01:00
license chore~style/structure: lowercase file names 2024-11-11 09:18:07 -05:00
readme.md feat~doc/readme: documentation added 2024-11-11 09:24:22 -05:00

forgejo-wrangler-pages

forgejo actions workflow to publish a static site to cloudflare pages

installation

Make sure you have Woodpecker CI enabled on your repository. Then copy .woodpecker/pages-deploy.yml and replace the variables.

configuration

PROJECT_NAME
ID of the project on CloudFlare
BRANCH_NAME
Name of the branch where changes pushed will be published
DIST_DIRECTORY
Location of built artifacts

Also configure the build step with the correct commands to build the application. The default image includes Bun on Alpine Linux, you may want to change that depending on your use case.