Skip to content

Migrate to LANCommander base image with hook-based install #4

Migrate to LANCommander base image with hook-based install

Migrate to LANCommander base image with hook-based install #4

Workflow file for this run

name: Publish Documentation Updates
on:
push:
branches: [main]
paths:
- "Documentation/**"
- "**/*.md"
- "**/*.mdx"
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch to Docusaurus repo
env:
DISPATCH_TOKEN: ${{ secrets.DOCUMENTATION_DISPATCH_TOKEN }}
run: |
curl -sS -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${DISPATCH_TOKEN}" \
https://api.github.com/repos/LANCommander/LANCommander.Documentation/dispatches \
-d '{
"event_type": "docs-sources-updated",
"client_payload": {
"repo": "'"${GITHUB_REPOSITORY}"'",
"sha": "'"${GITHUB_SHA}"'",
"ref": "'"${GITHUB_REF}"'"
}
}'