website/.gitlab-ci.yml

20 lines
417 B
YAML
Raw Normal View History

2022-08-12 12:33:25 +00:00
image: julia:1.6
before_script:
- apt-get -qq update; apt-get -y install git python3-dev python3-pip
- pip3 install css-html-js-minify
pages:
stage: deploy
script:
- julia --project=@. -e 'import Pkg; Pkg.instantiate();
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
using Franklin;
optimize()'
- mv __site public
artifacts:
paths:
- public
only:
- main