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