Trigger docs build #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger docs build | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '*.d.ts' # Only run this workflow whenever one of the d.ts files change | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: create workflow dispatch | |
uses: actions/github-script@v5 | |
with: | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
'obsidianmd', | |
'obsidian-developer-docs', | |
'workflows/build-typescript-docs.yaml', | |
'main' | |
}); |