new-ryuslash.org/.gitlab-ci.yml
Tom Willemse c58e1e28fd Fix publishing
Since everything is published to public/ instead of public_html/ now, I don’t
need to move any directory.
2020-03-19 20:22:03 -07:00

37 lines
517 B
YAML

image: silex/emacs:26.3-alpine-dev
stages:
- build
- deploy
build-html:
stage: build
before_script:
- cask install
script:
make html
artifacts:
paths:
- public/
build-css:
stage: build
image: finalgene/lessc:3.10
script:
lessc src/less/main.less public/assets/css/main.css
artifacts:
paths:
- public/
pages:
stage: deploy
dependencies:
- build-html
- build-css
script:
- echo "Done"
artifacts:
paths:
- public
only:
- master