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