Skip to content

Commit a742dd0

Browse files
Update PR_Check.yml
1 parent 8f7ece3 commit a742dd0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/PR_Check.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ jobs:
1818
with:
1919
node-version: '18'
2020

21+
- name: Generate environment.ts from secrets
22+
shell: bash
23+
run: |
24+
cat > src/environments/environment.ts <<'EOF'
25+
export const environment = {
26+
production: false,
27+
supabaseUrl: '${{ secrets.SUPABASE_URL }}',
28+
supabaseKey: '${{ secrets.SUPABASE_ANON_KEY }}',
29+
};
30+
EOF
31+
2132
- name: Install dependencies
2233
run: npm ci
2334

0 commit comments

Comments
 (0)