* Fixing broken scss links in vps

This is due to hugo using gitlab pages as the base url
This commit is contained in:
shockrah 2021-10-17 19:07:59 -07:00
parent 59ec865da6
commit b4d3b3ab44
2 changed files with 3 additions and 1 deletions

3
.gitignore vendored
View File

@ -14,4 +14,5 @@ api/static/js/
api/thumbs/ api/thumbs/
build/ build/
gitpage/public/ gitpage/public/
gitpage/resources/ gitpage/resources/
gitpage/hugo.exe

View File

@ -33,6 +33,7 @@ vps-website:
script: script:
# Build then upload # Build then upload
- cd gitpage/ - cd gitpage/
- sed -i 's/\.gitlab\.io\/clippable/\.xyz/g' config.toml
- hugo - hugo
- cd ../ - cd ../
- ssh root@shockrah.xyz "rm -rf /var/www/clippable" - ssh root@shockrah.xyz "rm -rf /var/www/clippable"