From 2d081f8efa973e26a0f80a79de35101d75d2ebfa Mon Sep 17 00:00:00 2001 From: Freek van de Ven Date: Tue, 22 Aug 2023 12:53:15 +0200 Subject: [PATCH] feat: add documentation pipeline --- .github/workflows/release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..754c3d6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,20 @@ +name: Component Release Documentation Update + +on: + release: + types: + - created + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + + steps: + - name: Trigger central repository workflow + run: | + curl -X POST \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/Iconica-Development/iconica_component_documentation/actions/workflows/documentation.yml/dispatches \ + -d '{"ref":"master", "inputs":{"repository_url":"${{ github.event.repository.html_url }}"}}'