Skip to content

Commit

Permalink
explicitly set environment
Browse files Browse the repository at this point in the history
  • Loading branch information
buckhalt committed Jun 25, 2024
1 parent 1562e99 commit 7c66866
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ concurrency:
jobs:
# Build job
build:
environment: github-pages
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 7c66866

Please sign in to comment.