We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0600435 commit fbd74edCopy full SHA for fbd74ed
1 file changed
.github/workflows/deploy.yml
@@ -2,9 +2,11 @@ name: Deploy
2
3
on:
4
push:
5
- branches: ["main"]
6
- #pull_request:
7
- # branches: ["main"]
+ branches-ignore:
+ - gh-pages
+ pull_request:
8
9
10
11
jobs:
12
build:
@@ -24,6 +26,11 @@ jobs:
24
26
- run: cd test && npm i
25
27
- run: node --run build
28
29
+ deploy:
30
+ if: github.event_name == 'push' && github.ref_name == 'main'
31
+ runs-on: ubuntu-latest
32
+
33
+ steps:
34
- name: Deploy
35
uses: JamesIves/github-pages-deploy-action@v4
36
with:
0 commit comments