Tom Willemse
c58e1e28fd
Since everything is published to public/ instead of public_html/ now, I don’t need to move any directory.
37 lines
517 B
YAML
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
|