Skip to content

Commit

Permalink
try fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
Termina1 committed Jan 26, 2024
1 parent 16e038f commit eb120e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit eb120e0

Please sign in to comment.