finally fix links
This commit is contained in:
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: asciidoctor-ghpages
|
||||
uses: manoelcampos/asciidoctor-ghpages-action@v2
|
||||
env:
|
||||
PREFIX: ${{ github.server_url }}/${{ github.repository }}/
|
||||
PREFIX: ${{ github.server_url }}/${{ github.repository }}/docs/
|
||||
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