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
|
||||
|
||||
build-docs:
|
||||
if: github.event_name == 'push'
|
||||
needs: build-ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
@ -183,6 +184,7 @@ jobs:
|
|||
path: docs/build/html
|
||||
|
||||
deploy:
|
||||
if: github.event_name == 'push'
|
||||
needs: build-docs
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
|
Loading…
Reference in New Issue