We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90128ea commit 3bf3c2fCopy full SHA for 3bf3c2f
.github/workflows/deployment.yaml
@@ -4,8 +4,9 @@ on:
4
push:
5
branches:
6
- master
7
- # Review gh actions docs if you want to further define triggers, paths, etc
8
- # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
+ pull_request:
+ branches:
9
+ - master
10
11
jobs:
12
build:
@@ -30,7 +31,7 @@ jobs:
30
31
version: 10.11.0
32
33
- name: Install dependencies
- run: pnpm install # --frozen-lockfile
34
+ run: pnpm install --frozen-lockfile
35
- name: Build website
36
run: pnpm build
37
@@ -42,6 +43,7 @@ jobs:
42
43
deploy:
44
name: Deploy to GitHub Pages
45
needs: build
46
+ if: ${{ github.event_name != 'pull_request' }}
47
48
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
49
permissions:
0 commit comments