andykenward/GitHub Action for Cloudflare Pages
Deploy to Cloudflare Pages
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cloudflare-api-token | Cloudflare API Token | yes | — |
| cloudflare-account-id | Cloudflare Account ID | yes | — |
| cloudflare-project-name | Cloudflare Pages project name to upload to | yes | — |
| directory | Directory of static files to upload | yes | — |
| github-token | Github API key | yes | — |
| github-environment | GitHub environment to deploy to. You need to manually create this for the github repo | yes | — |
| pr-number | GitHub pull request number to comment on. If not set, the action auto-detects from the event payload. | no | — |
| working-directory | Directory to run wrangler cli from | no | — |
| wrangler-version | Wrangler version to use. Otherwise a default version from the action will be used. | no | — |
| branch | Branch name to use for Cloudflare Pages deployment. If not set, the branch is automatically detected from the GitHub context. | no | — |
Outputs
| name | description |
|---|---|
| id | Cloudflare Pages deployed id |
| url | Cloudflare Pages deployed url |
| environment | Cloudflare Pages deployed environment "production" or "preview" |
| alias | Cloudflare Pages deployed alias. Fallsback to deployed url if deployed alias is null |
| wrangler | Wrangler cli output |