Commit d583d0cd authored by Hugo Kerstens's avatar Hugo Kerstens
Browse files

Merge branch '7-test-deployment-url' into 'master'

Change root URL for test builds

Closes #7

See merge request !5
parents 4cbb86c0 94841217
Pipeline #36413 passed with stages
in 53 seconds
......@@ -10,6 +10,7 @@ build site:
- npm install -g hexo-cli
script:
- npm install
- 'if [[ ${CI_COMMIT_REF_NAME} != "master" ]]; then sed -i "s+root: /+root: /test_builds/${CI_COMMIT_REF_NAME}/+g" _config.yml; fi'
- hexo generate
artifacts:
paths:
......
......@@ -38,7 +38,7 @@ external_link: true # Open external links in new tab
filename_case: 0
render_drafts: false
post_asset_folder: true
relative_link: true
relative_link: false
future: true
# Category & Tag
......
Supports Markdown
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