From c58e1e28fd11c96f2749b0a398e092d514869563 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 19 Mar 2020 20:22:03 -0700 Subject: [PATCH] Fix publishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since everything is published to public/ instead of public_html/ now, I don’t need to move any directory. --- .gitlab-ci.yml | 8 ++++---- GNUmakefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8c0574..d31fac1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/GNUmakefile b/GNUmakefile index 0bd2d65..d459d94 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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 $^ $@