A template for Astro projects.
- Create a new repository from this template
- Find & replace
astro-template
with the name of the new repository - Find & replace the description with a proper one
- Remove
"dryRun": true
from thepackage.json
- Remove this section
astro-template
can be used as A template for Astro projects.
Set the SITE
environment variable to the url of the deployment.
npm install # install dependencies
npm run dev # start dev server
npm install # install dependencies
npm run build # build site to ./dist/
- Enable pages in the pages settings.
- Uncomment the push event in the
deploy.yml
workflow to enable it.