Skip to content

Commit

Permalink
chore: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyAisen committed May 22, 2024
1 parent 0666a7f commit 580950a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-site-to-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
git checkout .
git pull origin main
pnpm install
npm run build:deploy
npm run build
2 changes: 1 addition & 1 deletion .github/workflows/deploy-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: pnpm install

- name: Build project
run: npm run build
run: npm run build:gh-pages

- name: Deploy gh page
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build:sit": "npm run type-check && vite build --mode sit",
"build:uat": "npm run type-check && vite build --mode uat",
"build:prod": "npm run type-check && vite build",
"build:deploy": "npm run type-check && vite build --mode deploy",
"build:gh-pages": "npm run type-check && vite build --mode gh-pages",
"preview": "vite preview --port 4173",
"type-check": "vue-tsc --noEmit",
"lint:eslint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
Expand Down

0 comments on commit 580950a

Please sign in to comment.