Skip to content

Commit

Permalink
fix: via artifact deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
liukangtian committed Dec 15, 2024
1 parent 4a18c01 commit 510496f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,21 @@ jobs:
name: babylon_test
path: ./babylon_test

# 调试:列出下载后的文件
# 解压 artifact
- name: Extract artifact
run: |
echo "Extracting artifact..."
unzip ./babylon_test/github-pages.zip -d ./babylon_test/
# 调试:列出下载并解压后的文件
- name: Debug - List downloaded files
run: |
echo "Listing downloaded artifact files:"
echo "Listing extracted files:"
ls -R ./babylon_test
# 部署到 GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TEST_GITHUB_TOKEN }}
publish_dir: ./babylon_test
publish_dir: ./babylon_test/dist

0 comments on commit 510496f

Please sign in to comment.