mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
30 lines
606 B
YAML
30 lines
606 B
YAML
name: Sync Docs to Wiki
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "docs/**"
|
|
- .github/workflows/wiki-sync.yml
|
|
|
|
concurrency:
|
|
group: publish-wiki
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
update-wiki:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Push to Wiki
|
|
uses: Andrew-Chen-Wang/github-wiki-action@v4
|
|
with:
|
|
path: docs
|
|
token: ${{ secrets.WIKI_SYNC_PAT_TOKEN }}
|
|
commit-message: "Sync docs from main repo: ${{ github.event.head_commit.message }}"
|