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
|
make html
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public_html/
|
- public/
|
||||||
|
|
||||||
build-css:
|
build-css:
|
||||||
stage: build
|
stage: build
|
||||||
image: finalgene/lessc:3.10
|
image: finalgene/lessc:3.10
|
||||||
script:
|
script:
|
||||||
lessc src/less/main.less public_html/assets/css/main.css
|
lessc src/less/main.less public/assets/css/main.css
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public_html/
|
- public/
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
@ -29,7 +29,7 @@ pages:
|
||||||
- build-html
|
- build-html
|
||||||
- build-css
|
- build-css
|
||||||
script:
|
script:
|
||||||
- mv public_html public
|
- echo "Done"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
|
@ -6,7 +6,7 @@ html:
|
||||||
@echo "Publishing..."
|
@echo "Publishing..."
|
||||||
cask emacs --quick --batch --load publish.el --funcall org-publish-all
|
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
|
public/assets/css/%.css: src/less/%.less
|
||||||
lessc $^ $@
|
lessc $^ $@
|
||||||
|
|
Loading…
Reference in a new issue