Skip to content

Commit

Permalink
Update slidefactory
Browse files Browse the repository at this point in the history
  • Loading branch information
trossi committed Mar 18, 2024
1 parent 53758c9 commit d6563bd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/csc-training/slidefactory:3.0.0-beta.3
image: ghcr.io/csc-training/slidefactory:3.0.0-beta.4
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -48,14 +48,12 @@ jobs:
qc \
; do
echo "# $d" >> index.md
/slidefactory/slidefactory.py --format html $d/docs/*.md
mkdir build/$d
mv $d/docs/*.html build/$d/
[ -d "$d/docs/img" ] && cp -r $d/docs/img build/$d/
/slidefactory/slidefactory.py --format html $d/docs/*.md -o build/$d/
for f in build/$d/*.html; do
echo "* [${f##*/}](${f#build/})" >> index.md
done
echo "" >> index.md
done
cat index.md
Expand Down

0 comments on commit d6563bd

Please sign in to comment.