We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07bd862 commit 3d1f9bbCopy full SHA for 3d1f9bb
1 file changed
.github/workflows/publish.yml
@@ -3,6 +3,9 @@ on:
3
push:
4
branches:
5
- main
6
+ pull_request:
7
+ branches:
8
+ - "*"
9
repository_dispatch:
10
jobs:
11
publish:
@@ -18,6 +21,7 @@ jobs:
18
21
- name: Build website
19
22
run: make prod
20
23
- name: Sync website with the remote repository
24
+ if: ${{ github.ref == 'refs/heads/main' }}
25
uses: ./.github/actions/sync-repository
26
with:
27
local-path: dist/
0 commit comments