Commit 2b610403 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

Remove hardcoded project path in .gitlab-ci.yml

We remove the first component from $CI_PROJECT_PATH because that one is
used as the pages.tpn subdomain.
parent c1116a0f
Pipeline #11078 passed with stages
in 3 minutes and 40 seconds
......@@ -38,7 +38,7 @@ before_script:
- 'sed -i "s|^url = .*|url = ${CI_PAGES_URL}|" tpo-blog.lektorproject'
- 'sed -i "/_html_body:/,/---/!b;s|src=\"/static|src=\"/web/blog/static|g" content/blog/*/'
- 'sed -i "/_html_body:/,/---/!b;s|src=\"/static|src=\"/${CI_PROJECT_PATH#*/}/static|g" content/blog/*/'
- 'sed -i "/_comments:/,/---/!b;s|href=\"https://blog\.torproject\.org|href=\"${CI_PAGES_URL}|g" content/blog/*/'
- lektor build --output-path public
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