update workflow
Some checks failed
Deploy / deploy (push) Failing after 10s
Some checks failed
Deploy / deploy (push) Failing after 10s
This commit is contained in:
parent
086079a757
commit
6a821d2b47
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@ -12,11 +12,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install expect
|
- name: Install expect
|
||||||
|
run: |
|
||||||
run: apt-get install -y expect
|
sudo apt-get update
|
||||||
|
sudo 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