thisismess/Deploy Nuxt to Cloudflare Workers
Build and deploy a Nuxt application to Cloudflare Workers with versioned deployments
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 with Workers permissions | yes | — |
| cloudflare-account-id | Cloudflare Account ID | yes | — |
| worker-name | Name of the Cloudflare Worker | yes | — |
| working-directory | Path to Nuxt project directory | — | . |
| node-version | Node.js version to use | — | 20 |
| build-command | Command to build the Nuxt app | — | npm run build |
| install-command | Command to install dependencies | — | npm ci |
| package-manager | Package manager to use for caching (npm, pnpm, yarn, or none to disable caching) | — | npm |
| build-env | JSON object of environment variables for build step | no | {} |
| secrets-json | JSON object of secrets to upload to Cloudflare Worker (keys must not overlap with vars in wrangler config) | no | — |
| deploy-tag | Tag for the deployment (defaults to short SHA) | no | — |
| deploy-message | Message for the deployment | no | — |
| github-environment | GitHub environment name - merges wrangler.{github-environment}.jsonc into base config if it exists | no | — |
| mode | Action mode: full (build+upload+deploy), build (build only, no upload), or deploy (upload+deploy from .output) | no | full |
Outputs
| name | description |
|---|---|
| version-id | The uploaded/deployed Worker Version ID |
| deploy-tag | The tag used for the deployment |