Skip to content
Snippets Groups Projects
Commit 93eb9ad6 authored by Mathias Goebel's avatar Mathias Goebel :reminder_ribbon:
Browse files

fix: syntax

parent 95d93e77
No related branches found
No related tags found
1 merge request!28feat: add build with base path for backend
Pipeline #214185 passed
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
if [[ $1 == "main" ]]; then if [[ $1 == "main" ]]; then
sed -i "s|base:\s*'/'|base: '/ahiqar/website/'|" src/.vuepress/config.js sed -i "s|base:\s*'/'|base: '/ahiqar/website/'|" src/.vuepress/config.js
else if [[ $1 == "backend" ]]; then elif [[ $1 == "backend" ]]; then
sed -i "s|base:\s*'/'|base: '/website/'|" src/.vuepress/config.js sed -i "s|base:\s*'/'|base: '/website/'|" src/.vuepress/config.js
else else
sed -i "s|base:\s*'/'|base: '/ahiqar/website/$1/'|" src/.vuepress/config.js sed -i "s|base:\s*'/'|base: '/ahiqar/website/$1/'|" src/.vuepress/config.js
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment