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: |
|
run: |
|
||||||
expect - <<EOF
|
expect - <<EOF
|
||||||
spawn ssh -p ${{ secrets.PORT }} ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"
|
spawn ssh -p ${{ secrets.PORT }} ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"
|
||||||
expect "password:"
|
|
||||||
send "${{ secrets.PASSWORD }}\r"
|
|
||||||
expect "?"
|
expect "?"
|
||||||
send "yes"
|
send "yes"
|
||||||
|
expect "password:"
|
||||||
|
send "${{ secrets.PASSWORD }}\r"
|
||||||
expect eof
|
expect eof
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user