new docker version which uses sshpass
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user