gh-pages deploy only the master branch

This commit is contained in:
Brandon Liu
2022-05-04 17:55:45 +08:00
parent a1753af6df
commit 873ef3b5cc

View File

@@ -22,7 +22,7 @@ jobs:
- run: cd app && npm install && npm run build - run: cd app && npm install && npm run build
- name: build_app - name: build_app
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
# if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./app/dist publish_dir: ./app/dist