diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66fecc8..6daf51a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/docusaurus.config.js b/docusaurus.config.js index 76170b9..3a85f46 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -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 // pathname under which your site is served // For GitHub pages deployment, it is often '//' - 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.