Commit e4b3083f authored by mh's avatar mh
Browse files

fix sed regexp to adjust deploy slug subsitution

parent 168445ca
Pipeline #847 passed with stages
in 1 minute and 2 seconds
......@@ -16,7 +16,7 @@ build:
script:
# Set hugo's 'baseurl' option in case we're not dealing with the master branch.
- 'if ! [ "$CI_COMMIT_REF_SLUG" == "master" ]; then
sed -i "s@^baseURL =.*@baseURL = \"http://docs.immerda.ch/${DEPLOY_SLUG}/@\"" config.toml;
sed -i "s@^baseURL =.*@baseURL = \"http://docs.immerda.ch/${DEPLOY_SLUG}/\"@" config.toml;
fi'
- hugo version
- hugo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment