Skip to content

Commit 40b7824

Browse files
authored
Merge pull request #127 from snyk/swinton/fine-tune-readme-sync
chore: fix sed bug in readme sync
2 parents 0732454 + 6cff299 commit 40b7824

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/readme-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
2121
cp $SOURCE_PATH ./$DESTINATION_REPOSITORY/$FILE_TO_COMMIT
2222
sed -i \
23-
-e "s|../../.gitbook/assets/|https://github.com/snyk/user-docs/raw/HEAD/docs/.gitbook/assets/|g" \
23+
-e "s|../../../.gitbook/assets/|https://github.com/snyk/user-docs/raw/HEAD/docs/.gitbook/assets/|g" \
2424
./$DESTINATION_REPOSITORY/$FILE_TO_COMMIT
2525
sed -i \
2626
-E "s|\!\\[([[:alnum:][:space:][:punct:]]*)\]\(<([[:alnum:][:punct:]\-\.\/:[:space:]\(\)]+)>\)|<img src=\"\2\" alt=\"\1\" />|g" \

0 commit comments

Comments
 (0)