update workflow
Some checks failed
Deploy / deploy (push) Failing after 10s

This commit is contained in:
Zichao Lin 2023-11-25 19:47:26 +08:00
parent 086079a757
commit 6a821d2b47
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install expect
run: apt-get install -y expect
- name: Install expect
run: |
sudo apt-get update
sudo apt-get install -y expect
- name: Deploy
run: |
expect - <<EOF
spawn ssh ${{ secrets.USERNAME }}@${{ secrets.HOST }} "cd ${{ secrets.PATH }} && git pull"