try fix links
This commit is contained in:
5
.github/workflows/static.yml
vendored
5
.github/workflows/static.yml
vendored
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user