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
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- name: Build website
run: npm run build
env:
URL: ${{ vars.SITE_URL }}
BASE_URL: ${{ vars.BASE_URL || '/' }}
URL: ${{ vars.SITE_URL || 'https://arubacloud.github.io' }}
BASE_URL: ${{ vars.BASE_URL || '/api/' }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ const config = {
favicon: 'img/favicon.ico',

// Set the production url of your site here
url: process.env.URL || 'https://your-docusaurus-site.example.com',
url: process.env.URL || 'https://arubacloud.github.io',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: process.env.BASE_URL || "/",
baseUrl: process.env.BASE_URL || '/api/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down
Loading