Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1b4e19d

Browse files
feat: deploy update
1 parent 20f6265 commit 1b4e19d

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

‎.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Deploy
33
on:
44
push:
55
branches:
6-
- main
6+
- master
77
workflow_dispatch:
88

99
jobs:
@@ -19,17 +19,11 @@ jobs:
1919
with:
2020
node-version: '18'
2121

22-
- name: Install pnpm
23-
run: npm install -g pnpm
24-
25-
- name: Install Dependencies
26-
run: pnpm install
27-
2822
- name: Build
29-
run: pnpm run docs:build
23+
run: npm run build:test
3024

3125
- name: Deploy to Hosting Service
32-
if: github.ref == 'refs/heads/main' #对分支进行检测
26+
if: github.ref == 'refs/heads/master' #对分支进行检测
3327
uses: moonpathbg/scp_uploader@latest
3428
with:
3529
host: ${{ secrets.HOST }}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /