Skip to content

Commit a70ec02

Browse files
committed
Fixing CF pages workflow.
1 parent 57f804c commit a70ec02

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/cloudflare-pages-runtime.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,9 @@ jobs:
2828
exit 1
2929
fi
3030
31-
- name: 📁 Create google-services.json
31+
- name: 📁 Set Google services environment variable
3232
run: |
33-
echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 --decode > google-services.json
34-
if ! jq empty google-services.json; then
35-
echo "❌ google-services.json is invalid"
36-
exit 1
37-
fi
33+
echo "GOOGLE_SERVICES_JSON=$(echo "$GOOGLE_SERVICES_JSON_BASE64" | base64 --decode)" >> $GITHUB_ENV
3834
env:
3935
GOOGLE_SERVICES_JSON_BASE64: ${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}
4036

@@ -49,7 +45,8 @@ jobs:
4945

5046
- name: 📥 Install dependencies
5147
run: pnpm install --frozen-lockfile
52-
48+
- name: 🔧 Generate Prisma client
49+
run: pnpm prisma generate
5350
- name: 🏗 Build Next.js for runtime
5451
env:
5552
NEXT_OUTPUT_MODE: standalone

0 commit comments

Comments
 (0)