diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ebdb805..2e1e5d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,12 +18,12 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - cache: yarn + cache: npm - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm ci - name: Build website - run: yarn build + run: npm run build - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index c22bcea..cc32de6 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -18,9 +18,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 18 - cache: yarn + cache: npm - name: Install dependencies - run: yarn install --frozen-lockfile + run: npm ci - name: Test build website - run: yarn build + run: npm run build \ No newline at end of file diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 261b9cd..a7d570f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,10 +8,10 @@ const config: Config = { favicon: 'img/favicon.ico', // Set the production url of your site here - url: 'https://civictechto.github.io/civicsaurus/', + url: 'https://civictechto.github.io/', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/', + baseUrl: '/civicsaurus/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.