Skip to content

feat: charts and shape primitives + XML parser (full design, 5 phases… #4

feat: charts and shape primitives + XML parser (full design, 5 phases…

feat: charts and shape primitives + XML parser (full design, 5 phases… #4

Workflow file for this run

name: Sync Wiki
on:
push:
branches: [main]
paths:
- 'docs/wiki/**'
permissions:
contents: write
jobs:
sync-wiki:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Checkout wiki
uses: actions/checkout@v4
with:
repository: ${{ github.repository }}.wiki
path: wiki
token: ${{ secrets.GITHUB_TOKEN }}
- name: Sync wiki files
run: |
cp docs/wiki/*.md wiki/
cd wiki
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
if git diff --cached --quiet; then
echo "No changes to sync"
else
git commit -m "docs: sync wiki from docs/wiki ($(date -u +%Y-%m-%dT%H:%M:%SZ))"
git push
fi