Update push.yml
This commit is contained in:
parent
6343ece0e7
commit
eee85837d1
1 changed files with 2 additions and 2 deletions
4
.github/workflows/push.yml
vendored
4
.github/workflows/push.yml
vendored
|
|
@ -17,10 +17,10 @@ jobs:
|
|||
run: |
|
||||
install -m 600 -D /dev/null ~/.ssh/id_rsa
|
||||
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
host='host.example.com'
|
||||
host='${{ secrets.IP }}'
|
||||
hosts="$(dig +short "$host" | grep -v '\.$' | sed -z 's|\n|,|g')$host"
|
||||
ssh-keyscan -H "$hosts" > ~/.ssh/known_hosts
|
||||
|
||||
|
||||
- name: Pushing Files...
|
||||
run: |
|
||||
echo "Pushing Files..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue