Skip to content

Commit 3ef5865

Browse files
committed
Test: Temperarily enable deploy on PR
Signed-off-by: Bo Chen <[email protected]>
1 parent 801fcb2 commit 3ef5865

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy-github.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: GitHub Pages
22

33
on:
4+
pull_request:
5+
branches: main
46
push:
57
branches:
68
- main
@@ -24,8 +26,8 @@ jobs:
2426
- name: Build production website
2527
run: npm run build
2628

27-
- name: Deploy to GitHub Pages
28-
uses: peaceiris/actions-gh-pages@v3
29-
with:
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./public
29+
# - name: Deploy to GitHub Pages
30+
# uses: peaceiris/actions-gh-pages@v3
31+
# with:
32+
# github_token: ${{ secrets.GITHUB_TOKEN }}
33+
# publish_dir: ./public

0 commit comments

Comments
 (0)