From 7c66866006009fc7413bb1e90b0420d7fb3b629f Mon Sep 17 00:00:00 2001 From: Caden Buckhalt Date: Tue, 25 Jun 2024 13:54:19 -0700 Subject: [PATCH] explicitly set environment --- .github/workflows/gh-pages.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 96be6676..5ee85f51 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -27,6 +27,7 @@ concurrency: jobs: # Build job build: + environment: github-pages runs-on: ubuntu-latest steps: - name: Checkout @@ -65,8 +66,6 @@ jobs: # If source files changed but packages didn't, rebuild from a prior cache. restore-keys: | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}- - - name: Install dependencies - run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - name: Build with Next.js env: NEXT_PUBLIC_GA_ID: ${{ secrets.NEXT_PUBLIC_GA_ID }}