Skip to content

Commit b9115d4

Browse files
Update google-cloudrun-docker.yml
1 parent a742dd0 commit b9115d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/google-cloudrun-docker.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ jobs:
1717
uses: actions/setup-node@v3
1818
with:
1919
node-version: '18'
20+
- name: Generate environment.ts from secrets
21+
shell: bash
22+
run: |
23+
cat > src/environments/environment.ts <<'EOF'
24+
export const environment = {
25+
production: true,
26+
supabaseUrl: '${{ secrets.SUPABASE_URL }}',
27+
supabaseKey: '${{ secrets.SUPABASE_ANON_KEY }}',
28+
};
29+
EOF
2030
2131
- name: Install dependencies
2232
run: npm ci

0 commit comments

Comments
 (0)