Skip to content

Commit

Permalink
Updated workflows to make the check detect firebase-secret.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantom0110 committed Mar 7, 2024
1 parent a5793b1 commit 911032b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Check for private.json and .env files
run: |
if [ -e ".env" ] || [ -e "firebase-secret.json" ]; then
if [ -e ".env" ] || [ -e "server/firebase-secret.json" ]; then
echo "Error: Found .env or firebase-secret.json in the pull request. Please remove them before merging.";
exit 1;
fi
Expand Down

0 comments on commit 911032b

Please sign in to comment.