Merge pull request #9 from Iconica-Development/chore/remove-secret

chore: remove old documentation workflow
This commit is contained in:
Freek van de Ven 2024-02-13 16:33:19 +01:00 committed by GitHub
commit ffc8e51600
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,23 +0,0 @@
# .github/workflows/trigger-docs-update.yml
name: Trigger Documentation Update
on:
release:
workflow_dispatch:
jobs:
trigger-doc-update:
runs-on: ubuntu-latest
steps:
- name: Trigger documentation workflow
env:
DOC_PAT: ${{ secrets.DOC_PAT }}
run: |
REPO_URL="https://github.com/${{ github.repository }}"
curl \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token $DOC_PAT" \
"https://api.github.com/repos/Iconica-Development/iconica_component_documentation/actions/workflows/documentation.yml/dispatches" \
-d "{\"ref\":\"master\",\"inputs\":{\"repository_url\":\"$REPO_URL\"}}"