Skip to content

Commit 842e644

Browse files
committed
update
1 parent 5bbf946 commit 842e644

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/build-book.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,19 @@ jobs:
2424
- name: Build
2525
run: |
2626
make
27+
mkdir out
28+
mv CompHydroTutorial.pdf out
2729
2830
- name: Archive
2931
uses: actions/upload-artifact@v3
3032
with:
3133
name: book-pdf
32-
path: CompHydroTutorial.pdf
34+
path: out/CompHydroTutorial.pdf
35+
36+
- name: Deploy
37+
uses: peaceiris/actions-gh-pages@v3
38+
with:
39+
github_token: ${{ secrets.GITHUB_TOKEN }}
40+
publish_dir: ./out
41+
keep_files: true
3342

0 commit comments

Comments
 (0)