new docker version which uses sshpass

This commit is contained in:
shockrah 2020-10-26 13:02:13 -07:00
parent b1e36c486b
commit 7946ad25e7

View File

@ -1,4 +1,4 @@
image: shockrah/website:1.1 image: shockrah/website:1.2
before_script: before_script:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
@ -11,4 +11,4 @@ deploy:
script: script:
- bash ./build.sh - bash ./build.sh
- echo the next item will fail - echo the next item will fail
- scp -o StrictHostKeyChecking=no -r ./$MIRROR/ root@shockrah.xyz:/var/wwww/website - sshpass -p $SSH_PASS scp -o StrictHostKeyChecking=no -r ./$MIRROR/ root@shockrah.xyz:/var/wwww/website