Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pr_build_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
set -o pipefail
npm run build 2>&1 | tee build.log
env:
BASE_URL: /open-healthcare-docs/
# Match the published site, which is served from the domain root.
BASE_URL: /

- name: Report broken-link warnings
if: always()
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ jobs:
run: npm run build
working-directory: en
env:
BASE_URL: /open-healthcare-docs/
# The site is served from the root of https://healthcare.docs.wso2.com,
# not from a /open-healthcare-docs/ sub-path.
BASE_URL: /

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: en/build
cname: healthcare.docs.wso2.com
2 changes: 1 addition & 1 deletion en/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
title: 'Healthcare Solution Documentation',
tagline: 'Documentation for WSO2 Open Healthcare Accelerator',
favicon: 'img/favicon.svg',
url: 'https://oh.docs.wso2.com',
url: 'https://healthcare.docs.wso2.com',
baseUrl,
organizationName: 'wso2',
projectName: 'open-healthcare-docs',
Expand Down
2 changes: 1 addition & 1 deletion en/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const config: Config = {
title: 'Healthcare Solution Documentation',
tagline: 'Documentation for WSO2 Open Healthcare Accelerator',
favicon: 'img/favicon.svg',
url: 'https://oh.docs.wso2.com',
url: 'https://healthcare.docs.wso2.com',
baseUrl,
organizationName: 'wso2',
projectName: 'open-healthcare-docs',
Expand Down
Loading