update workflow

This commit is contained in:
Zichao Lin 2023-11-25 19:40:42 +08:00
parent b418d04400
commit e7706ee94d
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

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