Add Flaresolverr info to troubleshooting (#2077)

* Add Flaresolverr info to troubleshooting

* Wiki: Embed permalink to stable configuration page
This commit is contained in:
Constantin Piber
2026-05-31 23:05:23 +02:00
committed by GitHub
parent 911c0ce2e3
commit c68a108298
2 changed files with 30 additions and 0 deletions

View File

@@ -36,6 +36,13 @@ jobs:
set -e
cd $GITHUB_WORKSPACE/${{github.repository}}.wiki
cp -r $GITHUB_WORKSPACE/${{github.repository}}/docs/* .
stable="$(git describe --abbrev=0 --tags)"
if ! git -C $GITHUB_WORKSPACE/${{github.repository}} log --exit-code --pretty= "$stable.." -- docs/Configuring-SuwayomiServer.md; then
echo "Changes to config detected, embedding link to stable"
sed -i '1s/^/> [!WARNING]\n> This document describes the settings available in the preview version. Please head to ['$stable'](https:\/\/github.com\/Suwayomi\/Suwayomi-Server\/blob\/'$stable'\/docs\/Configuring-Suwayomi%E2%80%90Server.md) for the current stable version\n\n/' Configuring-SuwayomiServer.md
fi
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .