Skip to content

Update sync-wiki.yml #28

Update sync-wiki.yml

Update sync-wiki.yml #28

Workflow file for this run

name: Publish wiki
on:
push:
branches: [wiki]
paths:
- docs/**
- .github/workflows/sync-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
- name: fix links for Gollum
run: find ${{ github.workspace }}/forge/wiki -type f -name "*.md" -exec sed -E 's|(\[[^]]+]\()[^)]+\/([^).]+).png\)|\1\2)|g' \;
- uses: Andrew-Chen-Wang/github-wiki-action@v5
with:
path: docs
preprocess: false
strategy: init