Update push.yml
This commit is contained in:
parent
ca1549a8f1
commit
7d021160a4
1 changed files with 4 additions and 0 deletions
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
|
@ -11,4 +11,8 @@ jobs:
|
|||
- name: Pushing Files...
|
||||
run: |
|
||||
echo Pushing Files...
|
||||
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
|
||||
ssh-keyscan [hostname] >> ~/.ssh/known_hosts
|
||||
eval $(ssh-agent)
|
||||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
|
||||
sshpass -p '${{ secrets.PASS }}' scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -r -P 22 -J mattthetekie@${{ secrets.IP }} /home/runner/work/VENITH.NET/VENITH.NET mattthetekie@${{ secrets.DEST_IP }}:/var/www/venith
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue