diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01bd7236f..cab9b430c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,7 +60,7 @@ jobs: - name: Check for private.json and .env files run: | - if [ -e ".env" ] || [ -e "firebase-secret.json" ]; then + if [ -e "server/firebase-secret.json" ] || [ -e ".env"]; then echo "Error: Found .env or firebase-secret.json in the pull request. Please remove them before merging."; exit 1; fi