File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Debug Firebase Secret
2+ on : workflow_dispatch # This allows you to run it manually from the Actions tab
3+
4+ jobs :
5+ print_secret_email :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : Print Service Account Email
9+ run : |
10+ # Decode the base64 content (if encoded, which it often is by the action)
11+ # and try to extract the client_email from the JSON.
12+ # We'll only print the first few lines to avoid exposing the full key in logs.
13+ echo "Attempting to extract service account email from FIREBASE_SERVICE_ACCOUNT_KEY..."
14+ echo "${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}" | head -n 50 | grep -o '"client_email": "[^"]*"' | head -n 1
15+ env :
16+ FIREBASE_SERVICE_ACCOUNT_KEY : ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}
You can’t perform that action at this time.
0 commit comments