Skip to content

Commit

Permalink
Add github action to rebuild docs on change
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Oct 18, 2024
1 parent b8db43c commit 65d29cc
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rebuild-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Rebuild developer docs'

on:
push:
branches:
- main
paths:
- 'docs/**'

concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
cancel-in-progress: true

jobs:
rebuild-docs:
runs-on: ubuntu-latest
steps:
- run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_DEVELOPER_DOCS_TOKEN }}

0 comments on commit 65d29cc

Please sign in to comment.