Skip to content

Commit

Permalink
chore: 通过删除文件实现多个目录上传
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Dec 12, 2024
1 parent cd41edb commit 91246fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
run: npm run build-avtranscoder
- name: Build docs
run: npm run doc
- name: Clean up files
run: find . -mindepth 1 -maxdepth 1 ! -name "dist" ! -name "docs" ! -name "test" ! -name "product" -exec rm -rf {} +
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist ./docs ./test ./product
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 91246fe

Please sign in to comment.