feat: add documentation pipeline

This commit is contained in:
Freek van de Ven 2023-08-22 12:53:15 +02:00
parent 7b80839bea
commit 2d081f8efa

20
.github/workflows/release.yml vendored Normal file
View file

@ -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 }}"}}'