Fix publishing
Since everything is published to public/ instead of public_html/ now, I don’t need to move any directory.
This commit is contained in:
parent
830432c238
commit
c58e1e28fd
2 changed files with 5 additions and 5 deletions
|
@ -12,16 +12,16 @@ build-html:
|
|||
make html
|
||||
artifacts:
|
||||
paths:
|
||||
- public_html/
|
||||
- public/
|
||||
|
||||
build-css:
|
||||
stage: build
|
||||
image: finalgene/lessc:3.10
|
||||
script:
|
||||
lessc src/less/main.less public_html/assets/css/main.css
|
||||
lessc src/less/main.less public/assets/css/main.css
|
||||
artifacts:
|
||||
paths:
|
||||
- public_html/
|
||||
- public/
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
|
@ -29,7 +29,7 @@ pages:
|
|||
- build-html
|
||||
- build-css
|
||||
script:
|
||||
- mv public_html public
|
||||
- echo "Done"
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
|
|
|
@ -6,7 +6,7 @@ html:
|
|||
@echo "Publishing..."
|
||||
cask emacs --quick --batch --load publish.el --funcall org-publish-all
|
||||
|
||||
css: public_html/assets/css/main.css
|
||||
css: public/assets/css/main.css
|
||||
|
||||
public/assets/css/%.css: src/less/%.less
|
||||
lessc $^ $@
|
||||
|
|
Loading…
Reference in a new issue