Skip to content

Commit ce3bad2

Browse files
committed
Download slides for webpage.
1 parent e80c0d1 commit ce3bad2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/push.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
# raco pkg install --auto www/
4242
raco make www/main.scrbl
4343
make -C www main
44+
- name: Download slides
45+
run: |
46+
gh api repos/cmsc430/slides/zipball/pdfs > pdfs.zip
47+
mkdir -p www/main/slides
48+
unzip -jq pdfs.zip '*.pdf' -d www/main/slides/
4449
- name: Upload www for GitHub Pages
4550
uses: actions/upload-pages-artifact@v3
4651
with:

0 commit comments

Comments
 (0)