new-ryuslash.org/.gitlab-ci.yml
Tom Willemse 29289a3b76 Fix gitlab-ci.yml
‘before_script’ should be an array of strings.
2019-10-06 19:25:55 -07:00

37 lines
552 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_html/
build-css:
stage: build
image: finalgene/lessc:3.10
script:
lessc src/less/main.less public_html/assets/css/main.css
artifacts:
paths:
- public_html/
pages:
stage: deploy
dependencies:
- build-html
- build-css
script:
- echo "Deploying to pages"
artifacts:
paths:
- public_html/
only:
- master