Skip to content

Commit

Permalink
Create trigger_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
clemense authored Nov 18, 2024
1 parent d47924c commit 9ce2740
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/trigger_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger Docs Workflow

on:
push:
branches:
- main
workflow_dispatch: # Allow manual triggering of this workflow

jobs:
trigger-repo-a:
runs-on: ubuntu-latest

steps:
- name: Trigger Docs Workflow
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.DOCS_REPO_PAT }}" \
https://api.github.com/repos/scene-synthesizer/scene-synthesizer.github.io/actions/workflows/publish.yml/dispatches \
-d '{"ref":"main"}'

0 comments on commit 9ce2740

Please sign in to comment.