Skip to content

brckd/astro-template

Repository files navigation

@bricked/astro-template

license semantic-release: angular version

A template for Astro projects.

ToDo

  • 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 the package.json
  • Remove this section

Usage

astro-template can be used as A template for Astro projects.

Deploy

Set the SITE environment variable to the url of the deployment.

Develop locally

npm install # install dependencies
npm run dev # start dev server

Deploy locally

npm install # install dependencies
npm run build # build site to ./dist/

Deploy to Vercel

From upstream

Deploy and clone to Vercel

From a fork

Deploy existing fork to Vercel

Deploy to GitHub pages

  1. Enable pages in the pages settings.
  2. Uncomment the push event in the deploy.yml workflow to enable it.