chore: update build.yml

This commit is contained in:
Hufe921
2024-03-17 22:00:52 +08:00
parent 01b1104de4
commit 056648dd5c
+2 -1
View File
@@ -4,6 +4,7 @@ on:
push: push:
branches: [main] branches: [main]
paths: paths:
- '.github/workflows/build.yml'
- 'src/**' - 'src/**'
- 'index.html' - 'index.html'
- 'package.json' - 'package.json'
@@ -33,7 +34,7 @@ jobs:
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
rmRemote: true rmRemote: true
- name: Executing remote ssh commands - name: Executing remote ssh commands
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@v1.0.3
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}