chore: update CI workflow to use pnpm instead of npm
Changed deployment workflow to use pnpm with frozen lockfile to ensure consistent dependency installation matching local development environment.
This commit is contained in:
@@ -31,7 +31,8 @@ jobs:
|
||||
git remote set-url origin https://Alexander:${{ secrets.homepage_gitea_token }}@git.bocken.org/Alexander/homepage
|
||||
git fetch origin
|
||||
git reset --hard origin/master
|
||||
npm run build
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm run build
|
||||
sudo systemctl stop homepage.service
|
||||
mkdir -p dist
|
||||
rm -rf dist/*
|
||||
|
||||
Reference in New Issue
Block a user