setting up to have gitlab pages host some content for us
This commit is contained in:
parent
4a562b57da
commit
478219631c
@ -2,7 +2,7 @@ image: pandoc/core
|
||||
|
||||
pages:
|
||||
script:
|
||||
- ./build-html.sh
|
||||
- ./scripts/build-html.sh
|
||||
artifacts:
|
||||
paths:
|
||||
-public
|
||||
|
10
scripts/build-html.sh
Normal file
10
scripts/build-html.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Locations of important md files to build
|
||||
|
||||
lecture_dirs='311/lec/ 312/ 337/lec/ 363/lec/ 370/notes/ 412/'
|
||||
mkdir -p public
|
||||
for d in $lecture_dirs;do
|
||||
echo $d;
|
||||
pandoc `ls --sort=version $d` -o "public/$d.html"
|
||||
done
|
Loading…
Reference in New Issue
Block a user