Skip to content

Commit 9179d2c

Browse files
Add extra modifier for xref paths
1 parent d6f6dc6 commit 9179d2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cloud-catalog-connector-docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ jobs:
119119
inlineScript: |
120120
for file in update_docs/*; do
121121
blob_name="$(basename "$file")"
122+
sed -E 's|xref:Connector_help_(.*)$|https://docs.dataminer.services/connector/doc/\1.html|g' $file
122123
sed -i 's~\~/connector/images/~https://api.dataminer.services/api/public-catalog/v1-0/catalog/images/~g' $file
123124
az storage blob upload --file "$file" -c 'docs' -n "$blob_name" --connection-string '${{ secrets.AZUREBLOBSTORAGECS }}' --overwrite 'true'
124125
az storage blob update -c 'docs' -n "$blob_name" --connection-string '${{ secrets.AZUREBLOBSTORAGECS }}' --content-type 'text/plain'

0 commit comments

Comments
 (0)