Skip to content

Commit

Permalink
fix: new way
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-Lin-4549 committed Dec 7, 2024
1 parent 58bbd60 commit 6839c55
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/vue-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,11 @@ jobs:
- name: Build Vue.js Project
run: pnpm build

# 检查构建目录内容和大小(可选调试步骤)
- name: Debug Build Directory
run: |
echo "Build Directory Size:"
du -sh dist
echo "Build Directory Content:"
ls -l dist
# 上传构建产物
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
- name: Upload github-pages artifact
uses: actions/upload-pages-artifact@v1
with:
name: "github-pages"
path: ./dist # Vue.js 默认的构建输出目录为 dist
path: ./dist # Vue.js 默认的构建输出目录为 dist

# 部署任务
deploy:
Expand Down

0 comments on commit 6839c55

Please sign in to comment.