From fdd0355ad110bc71e912f6b863bf98ffd6550ae6 Mon Sep 17 00:00:00 2001 From: jordyarms Date: Sun, 22 Sep 2024 21:35:31 -0400 Subject: [PATCH] Converting workflows from yarn to npm --- .github/workflows/deploy.yml | 6 +++--- .github/workflows/test-deploy.yml | 6 +++--- docusaurus.config.ts | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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.