chore: Trigger docs.olivetin.app build if antora succeeds

This commit is contained in:
jamesread 2026-05-28 17:23:03 +01:00
parent 1a7e44eb42
commit e299712ca0
1 changed files with 10 additions and 0 deletions

View File

@ -32,3 +32,13 @@ jobs:
- name: Generate docs site (smoke)
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