update workflow
This commit is contained in:
parent
b418d04400
commit
e7706ee94d
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -11,10 +11,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install package
|
- name: Install expect
|
||||||
|
|
||||||
run: apt-get install -y expect
|
run: apt-get install -y expect
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
expect - <<EOF
|
expect - <<EOF
|
||||||
spawn ssh ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"
|
spawn ssh ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user