diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bbdd49619032f8fd3c0c0da08ba03b6148aa8d0d..707e20f749676ac214823c219018ed39fc155f00 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,13 @@ before_script: build_and_deploy: script: - pandoc -v + - cd hakyll-bootstrap/cours/prog_seq + - git pull origin master + - cd ../math_tech_info + - git pull origin master + - cd ../isc_physics + - git pull origin master + - cd ../../.. - make - rsync -avzz css ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/ - rsync -avzz figs ur1bg_malas@ur1bg.ftp.infomaniak.com:web/malaspinas/ diff --git a/hakyll-bootstrap/Makefile b/hakyll-bootstrap/Makefile index 50b5909175c25d92eafaa3ade7cfb7e3eae5ef7e..7f4c54f47e72276058daf1c55e26759f1d19b94a 100644 --- a/hakyll-bootstrap/Makefile +++ b/hakyll-bootstrap/Makefile @@ -1,7 +1,7 @@ watch: build stack exec blog -- watch -deploy: build +deploy: build stack exec blog -- deploy build: Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md @@ -14,6 +14,10 @@ build: Main.hs cours/math_tech_info/*.md cours/isc_physics/*.md build_revealjs: cd reveal.js && npm install && npm run build && cd .. + + +update: + git submodule update --recursive --remote clean: rm -rf _cache _site