Try manual fix of path

This commit is contained in:
Sidharth Vinod
2021-05-31 16:21:49 +05:30
parent 903a4fea53
commit d92e3279bb
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -32,6 +32,7 @@ jobs:
# yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
./bin/fix-path
git config user.name github-actions
git config user.email github-actions@github.com
git add .
Executable
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
find ../docs -type f -exec sed -i '' 's/service-worker.js/mermaid-live-editor\/service-worker.js/g' *.js {} \;
find ../docs -type f -exec sed -i '' 's/manifest.json/mermaid-live-editor\/manifest.json/g' *.html {} \;