From b4d3b3ab44a7ebbae09edcaa9358d42b82bedbe1 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 17 Oct 2021 19:07:59 -0700 Subject: [PATCH] * Fixing broken scss links in vps This is due to hugo using gitlab pages as the base url --- .gitignore | 3 ++- .gitlab-ci.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0738db3..366f79e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ api/static/js/ api/thumbs/ build/ gitpage/public/ -gitpage/resources/ \ No newline at end of file +gitpage/resources/ +gitpage/hugo.exe diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a566cf..6829537 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,6 +33,7 @@ vps-website: script: # Build then upload - cd gitpage/ + - sed -i 's/\.gitlab\.io\/clippable/\.xyz/g' config.toml - hugo - cd ../ - ssh root@shockrah.xyz "rm -rf /var/www/clippable"