mirror of
https://github.com/talktao/Vue3-Vite-Vant-TS-H5.git
synced 2025-04-27 12:06:36 +08:00
fix: ci
This commit is contained in:
parent
bc9aa11f3c
commit
2297501838
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -10,10 +10,14 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build and Deploy
|
- name: Install and Build 🔧 # 安装依赖、打包,如果提前已打包好无需这一步
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||||
env:
|
env:
|
||||||
ACCESS_TOKEN: ${{ secrets.VUE3_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.VUE3_TOKEN }}
|
||||||
BRANCH: gh-pages
|
BRANCH: gh-pages
|
||||||
FOLDER: build
|
FOLDER: build
|
||||||
BUILD_SCRIPT: npm install && npm run build
|
|
Loading…
x
Reference in New Issue
Block a user