fixes doc building regression; trigger builds on markdown files (#20260)
fix doc building regression; trigger builds on markdown files
This commit is contained in:
parent
d8e5c5c5a6
commit
32e4b33632
1 changed files with 4 additions and 2 deletions
6
.github/workflows/ci_docs.yml
vendored
6
.github/workflows/ci_docs.yml
vendored
|
|
@ -6,6 +6,7 @@ on:
|
||||||
- 'compiler/renderverbatim.nim'
|
- 'compiler/renderverbatim.nim'
|
||||||
- 'config/nimdoc.cfg'
|
- 'config/nimdoc.cfg'
|
||||||
- 'doc/**.rst'
|
- 'doc/**.rst'
|
||||||
|
- 'doc/**.md'
|
||||||
- 'doc/nimdoc.css'
|
- 'doc/nimdoc.css'
|
||||||
- 'lib/**.nim'
|
- 'lib/**.nim'
|
||||||
- 'nimdoc/testproject/expected/testproject.html'
|
- 'nimdoc/testproject/expected/testproject.html'
|
||||||
|
|
@ -20,6 +21,7 @@ on:
|
||||||
- 'compiler/renderverbatim.nim'
|
- 'compiler/renderverbatim.nim'
|
||||||
- 'config/nimdoc.cfg'
|
- 'config/nimdoc.cfg'
|
||||||
- 'doc/**.rst'
|
- 'doc/**.rst'
|
||||||
|
- 'doc/**.md'
|
||||||
- 'doc/nimdoc.css'
|
- 'doc/nimdoc.css'
|
||||||
- 'lib/**.nim'
|
- 'lib/**.nim'
|
||||||
- 'nimdoc/testproject/expected/testproject.html'
|
- 'nimdoc/testproject/expected/testproject.html'
|
||||||
|
|
@ -48,7 +50,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout'
|
- name: 'Checkout'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
|
|
||||||
|
|
@ -104,7 +106,7 @@ jobs:
|
||||||
if: |
|
if: |
|
||||||
github.event_name == 'push' && github.ref == 'refs/heads/devel' &&
|
github.event_name == 'push' && github.ref == 'refs/heads/devel' &&
|
||||||
matrix.target == 'linux'
|
matrix.target == 'linux'
|
||||||
uses: crazy-max/ghaction-github-pages@v1
|
uses: crazy-max/ghaction-github-pages@v3
|
||||||
with:
|
with:
|
||||||
build_dir: doc/html
|
build_dir: doc/html
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue