From cb2c7ac3ec74e03c6769f29f8af853b59c6e216e Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 17 Oct 2021 16:24:47 -0700 Subject: [PATCH] * back to gitlab pages but this time with a good compiler --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e47846..0e3b294 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ stages: # paths: # - build/ -upload-website: +vps-website: image: shockrah/website:latest stage: deploy before_script: @@ -36,3 +36,14 @@ upload-website: - ssh root@shockrah.xyz "rm -rf /var/www/clippable" - scp -r gitpage/public/ root@shockrah.xyz:/var/www/clippable + +pages: + image: shockrah/website:latest + stage: deploy + script: + - cd gitpage + - hugo + - mv public/ + artifacts: + paths: + - public/