From d84717e34c251b005aeeb9455c52efc6ca0ab319 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 5 Nov 2021 20:09:52 -0700 Subject: [PATCH] New base url and fixing the ssh in pipeline to not be whack --- .gitlab-ci.yml | 9 ++++++--- config.toml | 4 ++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88c865e..3e6c3ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/config.toml b/config.toml index 44b50fc..f589164 100644 --- a/config.toml +++ b/config.toml @@ -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"