Skip to content

feat: deploy wiki & tutorial workflow #1

feat: deploy wiki & tutorial workflow

feat: deploy wiki & tutorial workflow #1

name: Deploy Wiki & Tutorial
on:
push:
branches: ['main']
workflow_dispatch:
jobs:
trigger_target:
runs-on: ubuntu-latest
steps:
- name: Send repository_dispatch to Target Repositories
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/learndaxa/Tutorial/dispatches \
-d '{"event_type":"starlight_wiki_build"}'
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/learndaxa/Wiki/dispatches \
-d '{"event_type":"starlight_wiki_build"}'