更新 .gitea/workflows/ build.yml

This commit is contained in:
想打瞌睡 2024-07-09 20:53:26 +08:00
parent 52588f1d51
commit 9cfe865599

View File

@ -14,12 +14,12 @@ jobs:
node-version: 18
# npm install
- name: npm run build
run: npm install && npm run src:build && ls /usr/src/app/dist/
run: npm install && npm run src:build && pwd
- name: scp delay
uses: appleboy/scp-action@master
with:
host: ${{ vars.HOST }}
username: ${{ vars.USERNAME }}
password: ${{ vars.PASSWORD }}
source: "/usr/src/app/dist"
source: "/usr/src/app/dist/"
target: "/usr/share/nginx/html2"