Update README.md
This commit is contained in:
parent
4274c19927
commit
39aba93cab
@ -20,9 +20,9 @@ Test_Deploy:
|
||||
- master
|
||||
script:
|
||||
- eval $(ssh-agent -s)
|
||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
||||
- echo "$SSH_PRIVATE_KEY" | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||
- scp deb/Testpackage.deb root@192.168.0.42:/tmp/
|
||||
- ssh root@192.168.0.42 "DEBIAN_FRONTEND=noninteractive apt-get --reinstall -y -qq install /tmp/Testpackage.deb && rm /tmp/Testpackage.deb"
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user