From 92fdf09172ac89f14696476e64ddfb406c36458e Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 2 Jul 2024 20:48:55 +0200 Subject: [PATCH] Update trigger_doc_gen.yml --- .github/workflows/trigger_doc_gen.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/trigger_doc_gen.yml b/.github/workflows/trigger_doc_gen.yml index 1a070ae23..4eeed8fbb 100644 --- a/.github/workflows/trigger_doc_gen.yml +++ b/.github/workflows/trigger_doc_gen.yml @@ -13,6 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Empty action + - name: Send repository_dispatch run: | + curl -X POST -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + https://api.github.com/repos/${{ github.repository }}/dispatches \ + -d '{"event_type": "generate-doc"}' echo "Empty action triggering the generation of the documentation"