chore: Trigger docs.olivetin.app build if antora succeeds
This commit is contained in:
parent
1a7e44eb42
commit
e299712ca0
|
|
@ -32,3 +32,13 @@ jobs:
|
||||||
|
|
||||||
- name: Generate docs site (smoke)
|
- name: Generate docs site (smoke)
|
||||||
run: npx antora local-antora-playbook-ci.yml --log-level info
|
run: npx antora local-antora-playbook-ci.yml --log-level info
|
||||||
|
|
||||||
|
trigger-docs-publish:
|
||||||
|
needs: antora
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/next'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger docs.olivetin.app publish
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.CONTAINER_TOKEN }}
|
||||||
|
run: gh workflow run asciidoc.yml --repo OliveTin/docs.olivetin.app --ref main
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue