Use local docker ip of mach

This commit is contained in:
Arya Kiran 2022-09-12 22:05:36 +05:30
parent bc5ccad1a3
commit 3c410a2119
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@ pipeline:
commands:
- mkdir -p ~/.ssh
- echo $SSH_KEY > ~/.ssh/id_rsa
- ssh websiteupdate@vern.cc -p1813 "cd /var/www/websitenew && git pull && git reset --hard origin/master"
- ssh websiteupdate@172.19.0.1 -p1813 "cd /var/www/websitenew && git pull && git reset --hard origin/master"
secrets: [ ssh_key ]