Skip to content

Commit 2b87eb3

Browse files
refetch orphaned gh-pages branch in workflow
1 parent 87c9dc3 commit 2b87eb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/update_book.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
force_orphan: true # this will clean up all previous PR previews / main branch preview
3434
cname: datasciencebook.ca
3535

36+
- name: checkout gh-pages
37+
uses: actions/checkout@v2
38+
with:
39+
ref: 'gh-pages'
40+
3641
- name: copy dev/ website back in
3742
run: |
3843
yes | cp -rf $HOME/dev dev

0 commit comments

Comments
 (0)