Skip to content

Commit

Permalink
Update docs on release
Browse files Browse the repository at this point in the history
  • Loading branch information
Drarig29 committed Jul 2, 2023
1 parent 5279c02 commit fbce3da
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update docs on release

on:
release:
types: [released]

jobs:
update-docs:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.ACCESS_TOKEN }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: 'brackets-docs',
workflow_id: 'build.yml',
ref: 'main',
});

0 comments on commit fbce3da

Please sign in to comment.