Skip to content

Commit

Permalink
use sed back-reference
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbarring committed Nov 28, 2023
1 parent 52d6401 commit 9642c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/adoc_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
with:
shellcommand: 'asciidoctor --verbose ${FINAL_TAG} -a docprodtime=$(date -u ${DATE_FMT}) cf-conventions.adoc -D conventions_build; cp -r images conventions_build'
# Patch the cfconventions.org link
- run: sed -i 's+https://cfconventions.org+<a href="https://cfconventions.org" target="_blank">https://cfconventions.org</a>+' ./conventions_build/cf-conventions.html
- run: sed -E -i 's+(https://cfconventions.org)+<a href="\1" target="_blank">\1</a>+' ./conventions_build/cf-conventions.html
# Build cf-conventions.pdf using the Analog-inc asciidoctor-action
- name: Build cf-conventions.pdf
uses: Analog-inc/[email protected]
Expand Down

0 comments on commit 9642c98

Please sign in to comment.