Update push.yml
This commit is contained in:
parent
7d021160a4
commit
6735e33955
1 changed files with 5 additions and 2 deletions
7
.github/workflows/push.yml
vendored
7
.github/workflows/push.yml
vendored
|
|
@ -8,11 +8,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Pushing Files...
|
||||
- name: Getting Ready...
|
||||
run: |
|
||||
echo Pushing Files...
|
||||
echo Getting Ready...
|
||||
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
|
||||
ssh-keyscan [hostname] >> ~/.ssh/known_hosts
|
||||
eval $(ssh-agent)
|
||||
ssh-add - <<< "${{ secrets.SSH_PRIVATE_KEY }}"
|
||||
- name: Pushing Files...
|
||||
run: |
|
||||
echo Pushing Files...
|
||||
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