parent
e4a23bbf08
commit
b5c7c9b2c5
1 changed files with 2 additions and 1 deletions
|
@ -19,4 +19,5 @@ jobs:
|
||||||
- run: chmod 600 ~/.ssh/known_hosts
|
- run: chmod 600 ~/.ssh/known_hosts
|
||||||
- run: apt update && apt install -y openssh-client rsync
|
- run: apt update && apt install -y openssh-client rsync
|
||||||
- run: eval $(ssh-agent -s) && echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add -
|
- run: eval $(ssh-agent -s) && echo "${{ secrets.SSH_PRIVATE_KEY }}" | ssh-add -
|
||||||
- run: rsync -avzr --delete ${{ github.workspace }}/ hosting187597@hosting187597.a2f96.netcup.net:~/wordpress-test.event-federation.eu/wp-content/plugins/
|
- run: ls -l ~/.ssh
|
||||||
|
- run: rsync -avzr -e "ssh -i /path/to/your/private-key" --delete ${{ github.workspace }}/ hosting187597@hosting187597.a2f96.netcup.net:~/wordpress-test.event-federation.eu/wp-content/plugins/
|
||||||
|
|
Loading…
Reference in a new issue