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 2f919fe commit b2a9a2dCopy full SHA for b2a9a2d
.github/workflows/pages.yml
@@ -47,7 +47,15 @@ jobs:
47
48
# Deployment job
49
- name: Deploy 🚀
50
+ if: ${{ github.ref_name == 'master' }}
51
uses: JamesIves/github-pages-deploy-action@3.7.1
- with:
52
+ with:
53
BRANCH: gh-pages # The branch the action should deploy to.
54
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
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