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" +