From 53691d4f5d60bf303bab6dc0106dcae8f5db46bf Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 17 Dec 2021 19:56:17 -0800 Subject: [PATCH] * removing deployment to old vps --- .gitlab-ci.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 740f6a6..716af77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,29 +22,3 @@ build: only: - master -vps: - image: shockrah/website:latest - stage: vps - only: - refs: - - master - needs: - - build - - dependencies: - - build - - # setup ssh environment first - before_script: - - eval $(ssh-agent -s) - - 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 web@shockrah.xyz "rm -rf /var/www/resume" - - scp -r public/ web@shockrah.xyz:/var/www/resume - -