From 05166a84c8883d45e38fdc3a7a2982797d39c471 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 17 Oct 2021 19:15:49 -0700 Subject: [PATCH] - REmoving VPS deployment since hugo isn't playing ball --- .gitlab-ci.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6829537..6f50984 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,26 +18,6 @@ stages: # paths: # - build/ -vps-website: - image: shockrah/website:latest - stage: deploy - before_script: - - eval "$(ssh-agent -s)" - - echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null - - mkdir -p ~/.ssh/ - - chmod 700 ~/.ssh/ - - ssh-keyscan $VPS_HOST 2>&1 >> ~/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts - - git submodule init - - git submodule update - 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" - - scp -r gitpage/public/ root@shockrah.xyz:/var/www/clippable pages: