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:
|
pages:
|
||||||
script:
|
script:
|
||||||
- ./build-html.sh
|
- ./scripts/build-html.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
-public
|
-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