Skip to content

Commit

Permalink
Add JSON generation to the docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Oct 24, 2024
1 parent d4e1713 commit c133d84
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Regenerate documentation"
name: "Regenerate docs and JSON"

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
jobs:

Build:
name: Make docs
name: "Make docs and main JSON file"
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'armbian' }}
steps:
Expand All @@ -20,6 +20,11 @@ jobs:
run: |
bin/armbian-config --doc
- name: Join JSON
run: |
tools/config-jobs -j lib/armbian-configng/config.ng.jobs.json
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
Expand All @@ -29,9 +34,13 @@ jobs:
signoff: false
branch: update-docs
delete-branch: true
title: '`Automatic` documentation update'
title: '`Automatic` documentation update and JSON join'
body: |
Generate documentation.
Generate:
- [DOCUMENTATION.md](${{ github.event.repository.html_url }}/blob/main/DOCUMENTATION.md)
- Join [JSON parts](${{ github.event.repository.html_url }}/tree/main/tools/json/) to [common runtime JSON file](${{ github.event.repository.html_url }}/blob/main/lib/armbian-configng/config.ng.jobs.json)
labels: |
Needs review
Expand Down

0 comments on commit c133d84

Please sign in to comment.