Regenerate docs and JSON #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Regenerate documentation and join JSON" | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
Build: | |
name: "Make docs and main JSON file" | |
runs-on: ubuntu-latest | |
if: ${{ github.repository_owner == 'armbian' }} | |
steps: | |
- name: Checkout build repo | |
uses: actions/checkout@v4 | |
- name: Make docs | |
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 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: '`Automatic` documentation update' | |
signoff: false | |
branch: update-docs | |
delete-branch: true | |
title: '`Automatic` documentation update and JSON join' | |
body: | | |
Generate: | |
- [DOCUMENTATION.md](${{ github.event.repository.html_url }}/DOCUMENTATION.md) | |
- Join [JSON parts from](${{ github.event.repository.html_url }}/tools/json/) to [common runtime file](${{ github.event.repository.html_url }}/lib/armbian-configng/config.ng.jobs.json). | |
labels: | | |
Needs review | |
#assignees: igorpecovnik | |
#reviewers: Must be org collaborator | |
draft: false | |