diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6e8267e..ab09384 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,6 +23,10 @@ jobs: run: npm install working-directory: ./documentation + - name: Clear old build + run: npm run clear + working-directory: ./documentation + - name: Build website run: npm run build working-directory: ./documentation diff --git a/documentation/docusaurus.config.ts b/documentation/docusaurus.config.ts index d4070d3..12e7768 100644 --- a/documentation/docusaurus.config.ts +++ b/documentation/docusaurus.config.ts @@ -10,7 +10,7 @@ const config: Config = { favicon: 'img/favicon.ico', // Set the production url of your site here - url: 'https://mindinventory.github.io/react-native-boilerplate', + url: 'https://mindinventory.github.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/documentation',