From 1f7ca9806da72bbc1b108f7e64e51f4e7f7623fe Mon Sep 17 00:00:00 2001 From: Claudiu Farcas Date: Tue, 28 Apr 2026 21:45:17 +0300 Subject: [PATCH] ci: inject Firebase config from GitHub Secrets --- .github/workflows/deploy.yml | 17 +++++++++++++++-- src/environments/firebaseConfig.example.ts | 4 +++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0208a35..dc6dabf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,8 +28,21 @@ jobs: node-version: 22 cache: npm - - name: Copy firebase config - run: cp src/environments/firebaseConfig.example.ts src/environments/firebaseConfig.ts + - name: Create firebase config from secrets + run: | + cat > src/environments/firebaseConfig.ts <