build: gh-pages -> vercel
This commit is contained in:
parent
ff11cdf73f
commit
b5717f6b8d
38
.github/workflows/deploy.yml
vendored
38
.github/workflows/deploy.yml
vendored
@ -1,38 +0,0 @@
|
|||||||
name: deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build-and-deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: use Node.js 16
|
|
||||||
uses: actions/setup-node@v2.1.2
|
|
||||||
with:
|
|
||||||
node-version: '16.x'
|
|
||||||
|
|
||||||
- name: use pnpm 6.32.2
|
|
||||||
uses: pnpm/action-setup@v2.2.1
|
|
||||||
with:
|
|
||||||
version: 6.32.2
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: |
|
|
||||||
pnpm install
|
|
||||||
pnpm run build:github
|
|
||||||
|
|
||||||
- name: Deploy
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
publish_dir: ./dist
|
|
||||||
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
||||||
user_name: ${{ secrets.USER_NAME }}
|
|
||||||
user_email: ${{ secrets.USER_EMAIL }}
|
|
||||||
force_orphan: true
|
|
||||||
commit_message: deploy gh-pages
|
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
[https://template.qszone.com](https://template.qszone.com)
|
[https://template.qszone.com](https://template.qszone.com)
|
||||||
|
|
||||||
[https://zclzone.github.io/vue-naive-admin](https://zclzone.github.io/vue-naive-admin)
|
[https://vercel.template.qszone.com](https://vercel.template.qszone.com)
|
||||||
|
|
||||||
### Docs
|
### Docs
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
[https://template.qszone.com](https://template.qszone.com)
|
[https://template.qszone.com](https://template.qszone.com)
|
||||||
|
|
||||||
[https://zclzone.github.io/vue-naive-admin](https://zclzone.github.io/vue-naive-admin)
|
[https://vercel.template.qszone.com](https://vercel.template.qszone.com)
|
||||||
|
|
||||||
### 文档
|
### 文档
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user