New base url and fixing the ssh in pipeline to not be whack

This commit is contained in:
shockrah 2021-11-05 20:09:52 -07:00
parent cc03f9ad67
commit d84717e34c
2 changed files with 8 additions and 5 deletions

View File

@ -7,13 +7,14 @@ stages:
variables:
GIT_SUBMODULE_STRATEGY: recursive
SHOPTS: "-o StrictHostKeyChecking=no"
# Only because it's broken right now
pages:
stage: gitlab
only:
refs:
- master
when: manual
script:
- hugo
artifacts:
@ -40,9 +41,11 @@ vps:
- echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null
- mkdir -p ~/.ssh/
- chmod 700 ~/.ssh/
- ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- ssh $SHOPTS web@shockrah.xyz "rm -rf /var/www/resume"
- scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/resume
- ssh web@shockrah.xyz "rm -rf /var/www/resume"
- scp -r public/ web@shockrah.xyz:/var/www/resume

View File

@ -1,6 +1,6 @@
baseURL = "https://shockrah.gitlab.io"
baseURL = "https://shockrah.xyz"
# BRO: remember to remove this
title = "Hi I'm Shockrah"
title = "Hi I'm Alejandro"
languageCode = "en-us"
theme = "resume"