Skip to content

Commit

Permalink
Fix canonical links for self-hosted docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ottopilotto committed Sep 19, 2023
1 parent 81db6d6 commit 57f36bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/self-hosted-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
DOC_ENV: prod
LOGO: "assets/images/logo-selfhosted.svg"
WP_OPTIONS_API_URL: ${{ vars.WP_OPTIONS_API_URL }}
SITE_NAME: "https://docs.spacelift.io/self-hosted"

- name: "Create preprod release"
run: |
Expand All @@ -91,6 +92,7 @@ jobs:
SPACELIFT_DISTRIBUTION: "SELF_HOSTED"
DOC_ENV: preprod
WP_OPTIONS_API_URL: ${{ vars.WP_OPTIONS_API_URL }}
SITE_NAME: "https://docs.spacelift.io/self-hosted"

- name: "Push branches"
run: |
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ copyright: © 2022 Spacelift, Inc. All rights reserved
site_author: Spacelift
site_description: Collaborative Infrastructure For Modern Software Teams
site_name: Spacelift Documentation
site_url: https://docs.spacelift.io
site_url: !ENV [SITE_NAME, "https://docs.spacelift.io"]
theme:
custom_dir: overrides
favicon: assets/images/favicon.png
Expand Down

0 comments on commit 57f36bd

Please sign in to comment.