Skip to content

Commit 6cff299

Browse files
authored
chore: fix sed bug in readme sync
Due to an extra level of folder nesting
1 parent 0732454 commit 6cff299

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)