fix(workflow): fix ci deployment build scripts to align with the change in package.json scripts

This commit is contained in:
Anda Toshiki 2023-09-16 21:34:14 -07:00
parent 7dfa867aad
commit c4f380a020
3 changed files with 6 additions and 3 deletions

3
.env.template Normal file
View File

@ -0,0 +1,3 @@
# csutom self-hosted umami instance for website analytics tracking
UMAMI_WEBSITE_ID=
UMAMI_ENDPOINT=

View File

@ -19,7 +19,7 @@ jobs:
pnpm install --no-frozen-lockfile pnpm install --no-frozen-lockfile
pnpm prepare pnpm prepare
pnpm lint pnpm lint
pnpm docs:build pnpm build
- name: Deploy to GitHub pages - name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@v4 uses: JamesIves/github-pages-deploy-action@v4
with: with:

View File

@ -1,7 +1,7 @@
{ {
"installCommand": "pnpm i", "installCommand": "pnpm i",
"buildCommand": "pnpm docs:build", "buildCommand": "pnpm build",
"devCommand": "pnpm docs:dev", "devCommand": "pnpm dev",
"cleanUrls": true, "cleanUrls": true,
"framework": "vite", "framework": "vite",
"git": { "git": {