docs: Improve custom branch clarity (#761)

This commit is contained in:
Andy Li
2022-06-14 06:24:35 -07:00
committed by GitHub
parent ac45008338
commit da72d057b9

View File

@@ -163,6 +163,9 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# If you're changing the branch from main,
# also change the `main` in `refs/heads/main`
# below accordingly.
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}