Skip to content

Commit a473651

Browse files
authored
Update deploy.yml
verified the build output and deploy without "first deployment" logic
1 parent 960d0cb commit a473651

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,18 @@ jobs:
3434
run: |
3535
jupyter-book build book
3636
37+
# Debug build output
38+
- name: Debug build output
39+
run: |
40+
ls -la book
41+
ls -la book/_build || true
42+
ls -la book/_build/html || true
43+
3744
# Deploy the book's HTML to gh-pages branch
3845
- name: GitHub Pages action
3946
uses: peaceiris/actions-gh-pages@v3.6.1
4047
with:
4148
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
publish_branch: gh-pages
4250
publish_dir: book/_build/html
51+
force_orphan: true

0 commit comments

Comments
 (0)