From eb120e04f186ba3d63f450605622f4d9870154aa Mon Sep 17 00:00:00 2001 From: Termina1 Date: Fri, 26 Jan 2024 14:39:45 +0200 Subject: [PATCH] try fix links --- .github/workflows/static.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 4ddab9544..0168806b6 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -28,3 +28,8 @@ jobs: uses: actions/checkout@v4 - name: asciidoctor-ghpages uses: manoelcampos/asciidoctor-ghpages-action@v2 + env: + PREFIX: ${{ github.server_url }}/${{ github.repository }} + with: + pre_build: find ./docs -name '*.adoc' -print0 | xargs -0 sed -i -e "s|link:\([^ ]*\)|link:${PREFIX}\1|g" +