From ed06e8406de638cc4a7eee87e45d9c5776c53053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20B=C3=A4rring?= Date: Mon, 27 Nov 2023 17:26:11 +0100 Subject: [PATCH] use sed back-reference --- .github/workflows/adoc_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/adoc_build.yml b/.github/workflows/adoc_build.yml index 4874184f..c2dfceae 100644 --- a/.github/workflows/adoc_build.yml +++ b/.github/workflows/adoc_build.yml @@ -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+https://cfconventions.org+' ./conventions_build/cf-conventions.html + - run: sed -E -i 's+(https://cfconventions.org)+\1+' ./conventions_build/cf-conventions.html # Build cf-conventions.pdf using the Analog-inc asciidoctor-action - name: Build cf-conventions.pdf uses: Analog-inc/asciidoctor-action@v1.2