actions-marketplace-validations/Astro Deploy
A composite action that prepares your Astro site to be deployed to GitHub Pages
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 14, 2026
- License
- None
Pinned Snippet
uses: actions-marketplace-validations/withastro_action@fc88a7002f0c62327f26fb1b15f2a1d581249278 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | The node version to use | no | 22 |
| package-manager | You may specify your preferred package manager (one of `npm | yarn | pnpm | bun | deno` and an optional `@<version>` tag). Otherwise, the package manager will be automatically detected. | no | "" |
| path | Path of the directory containing your site | no | . |
| build-cmd | The command used to build your site | no | — |
| cache | Enable Astro cache to speed up subsequent builds (caches optimized images and other assets) | no | true |
| cache-dir | Path to the Astro cache directory (relative to 'path' input). Defaults to 'node_modules/.astro' | no | node_modules/.astro |
Outputs
no outputs