A template for Astro projects.
- Create a new repository from this template
- Find & replace
astro-templatewith the name of the new repository - Find & replace the description with a proper one
- Remove
"dryRun": truefrom 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 servernpm install # install dependencies
npm run build # build site to ./dist/- Enable pages in the pages settings.
- Uncomment the push event in the
deploy.ymlworkflow to enable it.