Skip to content

Commit

Permalink
Merge branch 'patch/use-CI_PROJECT_PATH-instead-of-name' into 'main'
Browse files Browse the repository at this point in the history
hardcode path instead of CI_PROJECT_NAME

See merge request flarenetwork/docs-team/docs!3
  • Loading branch information
aljazs-flare committed Mar 19, 2024
2 parents a2d2d8f + db8a54e commit cb98b69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pages:
stage: deploy
environment:
name: production
url: https://${CI_PROJECT_NAMESPACE}.gitlab.io/${CI_PROJECT_NAME}/
url: https://${CI_PROJECT_ROOT_NAMESPACE}.gitlab.io/docs-team/docs/
action: start
variables:
GIT_DEPTH: 0
Expand Down Expand Up @@ -71,7 +71,7 @@ mkdocs-preview:
stage: build
environment:
name: review/$CI_COMMIT_REF_SLUG
url: https://${CI_PROJECT_NAMESPACE}.gitlab.io/-/${CI_PROJECT_NAME}/-/jobs/$CI_JOB_ID/artifacts/public/index.html
url: https://${CI_PROJECT_ROOT_NAMESPACE}.gitlab.io/-/docs-team/docs/-/jobs/$CI_JOB_ID/artifacts/public/index.html
before_script:
- !reference [pages, before_script]
- cat mkdocs.yml | /usr/bin/yq '.use_directory_urls = false' | sponge mkdocs.yml
Expand Down

0 comments on commit cb98b69

Please sign in to comment.