This commit is contained in:
parent
519d3be52f
commit
5d7b3bc0ea
|
@ -20,7 +20,9 @@ steps:
|
|||
- mv site /tmp/
|
||||
- rm * -fr
|
||||
- mv /tmp/site/* .
|
||||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
|
||||
- echo "$SSH_KEY" > ~/.ssh/id_rsa
|
||||
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||
- chmod -R 400 ~/.ssh
|
||||
- git add .
|
||||
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||
- git push origin pages
|
||||
|
|
Loading…
Reference in a new issue