slight changes to deploy

This commit is contained in:
/dev/urandom 2021-11-14 15:32:03 +03:00
parent b21dece3ce
commit 2822df489d

View file

@ -40,9 +40,10 @@ deploy-job: # This job runs in the deploy stage.
before_script:
- echo "Installing the dependencies..."
- apk add rsync openssh-client
- eval $(ssh-agent -s)
- echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- eval $(ssh-agent -s)
- echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- ssh-add -l
script:
- rsync -ciIlprz out/* deploy@devurandom.xyz:~/out/
- rsync -ciIlprz out/ deploy@devurandom.xyz:~/out/