setting up to have gitlab pages host some content for us

This commit is contained in:
shockrah committed 2020-07-05 16:33:36 -07:00
1 parent 4a562b57da
commit 478219631c
2 files changed
+11 -1

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ image: pandoc/core
pages:
script:
- ./build-html.sh
- ./scripts/build-html.sh
artifacts:
paths:
-public
+10
View 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