Skip to content

Update sync-wiki.yml #34

Update sync-wiki.yml

Update sync-wiki.yml #34

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:
for x in ${{ github.workspace }}/docs/*.md; do

Check failure on line 20 in .github/workflows/sync-wiki.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync-wiki.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
sed -E 's|(\[[^]]+]\()[^)]+\/([^).]+).md\)|\1\2)|g' $x
done
- uses: Andrew-Chen-Wang/github-wiki-action@v5
with:
path: docs
preprocess: false
strategy: init