update workflow
This commit is contained in:
parent
faa53ca2ed
commit
7712c77174
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -20,9 +20,9 @@ jobs:
|
||||
run: |
|
||||
expect - <<EOF
|
||||
spawn ssh -p ${{ secrets.PORT }} ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"
|
||||
expect "password:"
|
||||
send "${{ secrets.PASSWORD }}\r"
|
||||
expect "?"
|
||||
send "yes"
|
||||
expect "password:"
|
||||
send "${{ secrets.PASSWORD }}\r"
|
||||
expect eof
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user