更新 .gitea/workflows/ build.yml
This commit is contained in:
parent
9cfe865599
commit
55caebd128
@ -14,12 +14,13 @@ jobs:
|
||||
node-version: 18
|
||||
# npm install
|
||||
- name: npm run build
|
||||
run: npm install && npm run src:build && pwd
|
||||
run: npm install && npm run src:build && ls
|
||||
- name: scp delay
|
||||
uses: appleboy/scp-action@master
|
||||
run: ls && pwd
|
||||
with:
|
||||
host: ${{ vars.HOST }}
|
||||
username: ${{ vars.USERNAME }}
|
||||
password: ${{ vars.PASSWORD }}
|
||||
source: "/usr/src/app/dist/"
|
||||
source: "dist"
|
||||
target: "/usr/share/nginx/html2"
|
Loading…
Reference in New Issue
Block a user