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