This commit is contained in:
26
.github/workflows/deploy.yml
vendored
26
.github/workflows/deploy.yml
vendored
@@ -11,11 +11,23 @@ jobs:
|
|||||||
HTTP_PROXY: http://10.255.0.1:7890
|
HTTP_PROXY: http://10.255.0.1:7890
|
||||||
HTTPS_PROXY: http://10.255.0.1:7890
|
HTTPS_PROXY: http://10.255.0.1:7890
|
||||||
steps:
|
steps:
|
||||||
- name: Execute remote SSH commands using password
|
- name: Checkout
|
||||||
uses: appleboy/ssh-action@v1
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
node-version: 20
|
||||||
username: ${{ secrets.USERNAME }}
|
cache: pnpm
|
||||||
password: ${{ secrets.PASSWORD }}
|
|
||||||
port: ${{ secrets.PORT }}
|
- name: Install dependencies
|
||||||
script: ls -la /
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run docs:build
|
||||||
|
|
||||||
|
- name: Show build output
|
||||||
|
run: ls -la docs/.vuepress/dist
|
||||||
Reference in New Issue
Block a user