It's a twitter-like Astro blog template. Based on commit
Before you use this template, these are the following places you need to modify according to your actual environment.
.github\workflows\deploy.yml
jobs->build-and-deploy->env
to match your deployment url.package.json
build
script like this"build": "cross-env PUBLIC_BASE_URL='/astro-template/' cross-env PUBLIC_SITE_URL='https://nigh.github.io' astro build"
As with workflow above, configure it with the correct environment variablesNow, things would works perfectly.
npm install
# start a dev server
npm run dev
# prettier format
npm run format
# build a static site
npm run build