File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ # This workflow is centrally managed in https://github.com/LizardByte/.github/
3+ # Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
4+ # the above-mentioned repo.
5+
6+ # To use, add the `rtd` repository label to identify repositories that should trigger this workflow.
7+ # If the project slug is not the repository name, add a repository variable named `READTHEDOCS_SLUG` with the value of
8+ # the ReadTheDocs project slug.
9+
10+ # Update readthedocs on release events.
11+
12+ name : Update docs
13+ permissions : {}
14+
15+ on :
16+ release :
17+ types :
18+ - created
19+ - edited
20+ - deleted
21+
22+ concurrency :
23+ group : " ${{ github.workflow }}-${{ github.event.release.tag_name }}"
24+ cancel-in-progress : true
25+
26+ jobs :
27+ update-docs :
28+ name : Update docs
29+ uses : LizardByte/.github/.github/workflows/__call-update-docs.yml@master
30+ if : github.repository_owner == 'LizardByte'
31+ permissions : {}
32+ with :
33+ readthedocs_slug : ${{ vars.READTHEDOCS_SLUG }}
34+ secrets :
35+ READTHEDOCS_TOKEN : ${{ secrets.READTHEDOCS_TOKEN }}
You can’t perform that action at this time.
0 commit comments