woodpecker-cloudflare-pages/readme.md

778 B

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.