Skip to content

Commit 1f9983a

Browse files
authored
Update deploy.yml
1 parent 8292286 commit 1f9983a

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Deploy
33
on:
44
push:
55
branches: ["main"]
6-
pull_request:
7-
branches: ["main"]
6+
#pull_request:
7+
# branches: ["main"]
88

99
jobs:
1010
build:
@@ -20,13 +20,9 @@ jobs:
2020
node-version: latest
2121
check-latest: true
2222

23-
- name: Build
24-
run: |
25-
npm i
26-
cd test
27-
npm i
28-
cd ..
29-
node --run build
23+
- run: npm i
24+
- run: cd test && npm i
25+
- run: node --run build
3026

3127
- name: Deploy
3228
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)