diff --git a/.github/workflows/docs-antora.yml b/.github/workflows/docs-antora.yml index 96036b2..963f1c4 100644 --- a/.github/workflows/docs-antora.yml +++ b/.github/workflows/docs-antora.yml @@ -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