trigger documentation branch on tag
This commit is contained in:
@@ -2,8 +2,8 @@ name: documentation
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*.*.*'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -36,7 +36,6 @@ jobs:
|
|||||||
make html
|
make html
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/sphinx_action' }}
|
|
||||||
with:
|
with:
|
||||||
publish_branch: gh-pages
|
publish_branch: gh-pages
|
||||||
github_token: ${{ secrets.TOKEN_GH }}
|
github_token: ${{ secrets.TOKEN_GH }}
|
||||||
|
|||||||
Reference in New Issue
Block a user