We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ff8ec commit be48348Copy full SHA for be48348
.github/workflows/nextjs.yml
@@ -29,6 +29,7 @@ jobs:
29
build:
30
runs-on: ubuntu-latest
31
steps:
32
+
33
- name: Checkout
34
uses: actions/checkout@v3
35
- name: Detect package manager
@@ -73,6 +74,8 @@ jobs:
73
74
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
75
- name: Install dependencies
76
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
77
+ env:
78
+ API_AUTH_KEY: 'secrets.API_AUTH_KEY'
79
- name: Build with Next.js
80
run: ${{ steps.detect-package-manager.outputs.runner }} next build
81
@@ -91,6 +94,4 @@ jobs:
91
94
92
95
- name: Deploy to GitHub Pages
93
96
id: deployment
- uses: actions/deploy-pages@v2
- env:
- API_AUTH_KEY: 'secrets.API_AUTH_KEY'
97
+ uses: actions/deploy-pages@v2
0 commit comments