Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/docs-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Ask docs.projectile.mx to rebuild

# The docs site is built from this repo's doc/ directory by the docs.projectile.mx
# repository, which rebuilds daily on its own. This asks for a rebuild right
# away when a doc change lands, provided a token for docs.projectile.mx is configured.

on:
push:
branches: [master]
paths: ["doc/**"]

env:
DISPATCH_TOKEN: ${{ secrets.DOCS_DISPATCH_TOKEN }}

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Send docs-updated to bbatsov/docs.projectile.mx
# Skipped until the DOCS_DISPATCH_TOKEN secret exists.
if: ${{ env.DISPATCH_TOKEN != '' }}
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ env.DISPATCH_TOKEN }}
repository: bbatsov/docs.projectile.mx
event-type: docs-updated
Loading