mirror of https://github.com/Nonannet/pyladoc.git
ci script updated to run docs build only on push
This commit is contained in:
parent
65b9a300b9
commit
df592aef6a
|
@ -140,6 +140,7 @@ jobs:
|
||||||
path: tests/out/test_*_render*.pdf
|
path: tests/out/test_*_render*.pdf
|
||||||
|
|
||||||
build-docs:
|
build-docs:
|
||||||
|
if: github.event_name == 'push'
|
||||||
needs: build-ubuntu
|
needs: build-ubuntu
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -183,6 +184,7 @@ jobs:
|
||||||
path: docs/build/html
|
path: docs/build/html
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.event_name == 'push'
|
||||||
needs: build-docs
|
needs: build-docs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Reference in New Issue