Skip to content

Commit

Permalink
docs: [DHIS2-18052] Rebuild developer docs when there are changes (#3797
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eirikhaugstulen authored Sep 27, 2024
1 parent f11b35b commit 7b3485b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/rebuild-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'dhis2: rebuild developer docs'

on:
push:
branches:
- master
paths:
- 'docs/developer/**'
- 'CHANGELOG.md'

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 }}
8 changes: 4 additions & 4 deletions docs/developer/enrollment-plugins/manual-setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You can also have different layouts for the three different enrollment pages.
},
{
"type": "component",
"name": "EnrollmentComment"
"name": "EnrollmentNote"
},
{
"type": "component",
Expand Down Expand Up @@ -188,7 +188,7 @@ You can also have different layouts for the three different enrollment pages.
},
{
"type": "component",
"name": "EventComment"
"name": "EventNote"
},
{
"type": "component",
Expand Down Expand Up @@ -229,8 +229,8 @@ type DefaultComponents = 'QuickActions'
| 'AssigneeWidget'
| 'NewEventWorkspace'
| 'EditEventWorkspace'
| 'EnrollmentComment'
| 'EventComment'
| 'EnrollmentNote'
| 'EventNote'
| 'TrackedEntityRelationship'
| 'ErrorWidget'
| 'WarningWidget'
Expand Down

0 comments on commit 7b3485b

Please sign in to comment.