Update .gitlab-ci.yml to sleep after setting the privkey so i can debug that
This commit is contained in:
parent
d1787d3df1
commit
be0eeb09f6
@ -22,6 +22,7 @@ upload:
|
||||
script:
|
||||
- mkdir -p ~/.ssh
|
||||
- echo "$PRIVKEY" | base64 -d > ~/.ssh/id_rsa
|
||||
- sleep 60
|
||||
- chmod 600 ~/.ssh/id_rsa
|
||||
- ssh-keyscan -p 69 107.189.28.28 >> ~/.ssh/known_hosts
|
||||
- rsync -avzh ./public/ -e "ssh -i ~/.ssh/id_rsa -p 69" gitlab@107.189.28.28:/var/www/fzorb.xyz
|
||||
|
Loading…
Reference in New Issue
Block a user