Skip to content

Commit

Permalink
Add trigger to rebuild docs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpalms committed Jul 28, 2023
1 parent 8bfcb61 commit b8c33b9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/docs-rebuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: docs-rebuild-deploy

on:
push:
branches:
- main

jobs:
docs-rebuild-deploy:
runs-on: ubuntu-22.04
permissions: write-all
steps:
- name: Repository Dispatch
run: |
curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token ${{ secrets.ALEXPALMS_DOCS_TOKEN }}" \
--request POST \
--data '{"event_type": "rebuild-deploy", "client_payload": {}}' https://api.github.com/repos/diambra/docs/dispatches

0 comments on commit b8c33b9

Please sign in to comment.