docs: Improve custom branch clarity (#761)

This commit is contained in:
Andy Li authored and GitHub committed 2022-06-14 22:24:35 +09:00
1 parent ac45008338
commit da72d057b9
1 file changed
+3
+3
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 }}