This commit is contained in:
parent
24adc54afa
commit
e0e8db9b7f
@ -14,13 +14,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone https://cantyonion.site/git/cantyonion/WebIndex.git
|
||||||
repository: cantyonion/WebIndex
|
|
||||||
server_url: https://cantyonion.site./git
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: https://gitea.com/actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '16' # 可以根据需要选择 Node.js 版本
|
node-version: '16' # 可以根据需要选择 Node.js 版本
|
||||||
|
|
||||||
@ -31,7 +29,7 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: https://gitea.com/actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: vue-build
|
name: vue-build
|
||||||
path: dist/ # Vue.js 默认构建输出目录
|
path: dist/ # Vue.js 默认构建输出目录
|
||||||
|
Loading…
x
Reference in New Issue
Block a user