Skip to content

Commit

Permalink
Create update-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joethei authored Feb 22, 2024
1 parent 1581429 commit 8b8d059
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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',
});

0 comments on commit 8b8d059

Please sign in to comment.