New base url and fixing the ssh in pipeline to not be whack
This commit is contained in:
parent
cc03f9ad67
commit
d84717e34c
@ -7,13 +7,14 @@ stages:
|
|||||||
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
SHOPTS: "-o StrictHostKeyChecking=no"
|
|
||||||
|
|
||||||
|
# Only because it's broken right now
|
||||||
pages:
|
pages:
|
||||||
stage: gitlab
|
stage: gitlab
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- master
|
- master
|
||||||
|
when: manual
|
||||||
script:
|
script:
|
||||||
- hugo
|
- hugo
|
||||||
artifacts:
|
artifacts:
|
||||||
@ -40,9 +41,11 @@ vps:
|
|||||||
- echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null
|
- echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null
|
||||||
- mkdir -p ~/.ssh/
|
- mkdir -p ~/.ssh/
|
||||||
- chmod 700 ~/.ssh/
|
- chmod 700 ~/.ssh/
|
||||||
|
- ssh-keyscan shockrah.xyz 2>&1 >> ~/.ssh/known_hosts
|
||||||
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ssh $SHOPTS web@shockrah.xyz "rm -rf /var/www/resume"
|
- ssh web@shockrah.xyz "rm -rf /var/www/resume"
|
||||||
- scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/resume
|
- scp -r public/ web@shockrah.xyz:/var/www/resume
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
baseURL = "https://shockrah.gitlab.io"
|
baseURL = "https://shockrah.xyz"
|
||||||
# BRO: remember to remove this
|
# BRO: remember to remove this
|
||||||
title = "Hi I'm Shockrah"
|
title = "Hi I'm Alejandro"
|
||||||
|
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
theme = "resume"
|
theme = "resume"
|
||||||
|
Loading…
Reference in New Issue
Block a user