Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Allow buildin…
Browse files Browse the repository at this point in the history
…g all the slides at once
  • Loading branch information
tdittr committed Aug 12, 2024
1 parent 82431cf commit b838b4f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run build -- --base /${{github.event.repository.name}}/ *.md
run: npm run build -- --base /${{github.event.repository.name}}/slides/ *.md
- uses: actions/upload-artifact@v4
with:
name: slides-output
Expand All @@ -69,7 +69,10 @@ jobs:
path: public/slides/
- name: Move stuff into single folder
run: |
ls public/
for f in public/slides/*;
do
echo "/slides/$f/\* /slides/$f/index.html 200" >> public/_redirects
end
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifacts
Expand Down

0 comments on commit b838b4f

Please sign in to comment.