ModernFix-fix/.github/workflows/wiki_update.yml
Kichura 09aae6e34c
Enhance the workflow scripts and update Gradle. (#159)
* Update workflow actions and Gradle.
* Introduce friendly names to wiki_update and release scripts.
* Only embeddedt can run release and update wiki workflows.
2023-07-12 11:19:19 -04:00

26 lines
665 B
YAML

name: Update wiki using WikiGen
on:
push:
branches:
- '1.**'
jobs:
wikigen:
if: github.repository_owner == 'embeddedt'
runs-on: ubuntu-latest
concurrency:
group: wiki-generation
cancel-in-progress: false
steps:
- name: Checkout Repository and run Markdown Patch-List
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 scripts/gen-markdown-patchlist.py
- name: Upload generated file to wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "doc/generated"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.WIKI_TOKEN }}