更新 .gitea/workflows/build.yaml
Some checks failed
CI / build (push) Failing after 48m26s

This commit is contained in:
Jeffrey Hsu 2024-10-31 11:28:39 +08:00
parent 24adc54afa
commit e0e8db9b7f

View File

@ -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 默认构建输出目录