commit 7918b0042ed851601b83dd42a0012d4f69cae4d0
parent c0e19df854bddd9daf275dc1e3a82188a6e6e827
Author: minerva-jupiter <ryouturn@gmail.com>
Date: Sat, 27 Sep 2025 14:56:57 +0900
Merge branch 'main' of https://github.com/minerva-jupiter/gemini-chat
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml
@@ -2,7 +2,7 @@
#
# To get started with Next.js see: https://nextjs.org/docs/getting-started
#
-name: Deploy Next.js site to Pages
+name: Deploy Next.js site to GitHub Pages
on:
# Runs on pushes targeting the default branch
@@ -74,6 +74,8 @@ jobs:
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
+ env:
+ GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
@@ -91,3 +93,5 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+ env:
+ GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}