mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-07 16:09:53 +00:00
home
This commit is contained in:
parent
e1c50e4814
commit
fd09d8298b
@ -1,4 +1,4 @@
|
||||
image: dblaci/ubuntu-ssh-rsync
|
||||
image: jcpowermac/alpine-ansible-ssh
|
||||
|
||||
before_script:
|
||||
#- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
|
||||
@ -6,7 +6,7 @@ before_script:
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh
|
||||
- chmod 700 ~/.ssh
|
||||
- ssh-keyscan 35.180.10.123 >> ~/.ssh/known_hosts
|
||||
#- ssh-keyscan 35.180.10.123 >> ~/.ssh/known_hosts
|
||||
|
||||
deploy_to_webserver:
|
||||
stage: deploy
|
||||
@ -15,11 +15,7 @@ deploy_to_webserver:
|
||||
- master
|
||||
|
||||
script:
|
||||
#- rsync -rpv --exclude='project/.htaccess' project/* $USER_WEBSERVER@$IP_WEBSERVER:/var/www/html
|
||||
- echo $HOME
|
||||
- ls -l /root
|
||||
- pwd
|
||||
- ls -l
|
||||
- cat /etc/ansible/hosts
|
||||
|
||||
|
||||
when: manual
|
||||
|
Loading…
x
Reference in New Issue
Block a user