mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
81071d920e
Initial concept for automating the BSManager Wiki via PR's to the docs/wiki folder. Requires locking the Wiki's writing to none of the public, to prevent vandalism, desyncs and losing wiki-only information, with what is on the repository.
19 lines
367 B
YAML
19 lines
367 B
YAML
name: Publish wiki
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- docs/wiki/**
|
|
- .github/workflows/publish-wiki.yml
|
|
concurrency:
|
|
group: publish-wiki
|
|
cancel-in-progress: true
|
|
permissions:
|
|
contents: write
|
|
jobs:
|
|
publish-wiki:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: Andrew-Chen-Wang/github-wiki-action@v4
|