Skip to content

Commit b2a9a2d

Browse files
committed
See if we can do test builds
1 parent 2f919fe commit b2a9a2d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/pages.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ jobs:
4747

4848
# Deployment job
4949
- name: Deploy 🚀
50+
if: ${{ github.ref_name == 'master' }}
5051
uses: JamesIves/github-pages-deploy-action@3.7.1
51-
with:
52+
with:
5253
BRANCH: gh-pages # The branch the action should deploy to.
5354
FOLDER: build # The folder the action should deploy.
55+
- name: Test build
56+
if: ${{ github.ref_name != 'master' }}
57+
uses: JamesIves/github-pages-deploy-action@3.7.1
58+
with:
59+
BRANCH: gh-pages-test # The branch the action should deploy to.
60+
FOLDER: build # The folder the action should deploy.
61+

0 commit comments

Comments
 (0)