Skip to content

Commit

Permalink
add step to trigger mintlify workflow (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpmccarter authored Jan 16, 2024
1 parent 0b853e5 commit 2296c25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ jobs:
publish_dir: ./_docs
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
- name: Trigger mintlify workflow
if: github.event_name == 'push'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.DOCS_WORKFLOW_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'nixtla',
repo: 'docs',
workflow_id: 'mintlify-action.yml',
ref: 'main',
});
- name: Configure redirects for gh-pages
run: python docs-scripts/configure-redirects.py hierarchicalforecast
- name: Deploy to Github Pages
Expand Down

0 comments on commit 2296c25

Please sign in to comment.