From 4ec0ae2eb0ad883780d0c5f91fc45b3df1c3814f Mon Sep 17 00:00:00 2001 From: /dev/urandom Date: Fri, 18 Mar 2022 20:53:36 +0300 Subject: [PATCH] removed rsync to VPS --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29589a2..d5a30a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,12 +29,8 @@ deploy-job: # This job runs in the deploy stage. before_script: - if [ -z "$DEPLOY_PRIVATE_KEY" ]; then echo "Can't deploy without a private key."; exit 1; fi - echo "Installing the dependencies..." - - apk add bash rsync openssh-client curl jq - - mkdir -m 700 -p ~/.ssh - - echo "$DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa - - chmod 600 ~/.ssh/id_rsa + - apk add bash curl jq - curl https://gitlab.com/dev_urandom/neocities-uploader/-/raw/main/upload.sh?inline=false > upload.sh - chmod +x upload.sh script: - - rsync -e "ssh -o StrictHostKeyChecking=no" -ciIlprz public/ deploy@devurandom.xyz:~/out/ - ./upload.sh