Skip to content

Commit c77514e

Browse files
Added debugging to check google-services.json file size.
1 parent a8dd5e0 commit c77514e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/deploy-docker.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,21 @@ jobs:
1515
- name: Check out repository
1616
uses: actions/checkout@v3
1717

18+
# Create the google-services.json file from the secret.
1819
- name: Create google-services.json
1920
run: |
20-
# Use printf to preserve the formatting and newlines
21+
# Use printf to preserve formatting/newlines
2122
printf "%s" "${{ secrets.GOOGLE_SERVICES_JSON }}" > google-services.json
2223
24+
# Optional: Create .env file from a secret (if needed)
2325
- name: Create .env file
2426
run: |
25-
# Similarly, create the .env file with proper formatting
2627
printf "%s" "${{ secrets.ENV_FILE_CONTENT }}" > .env
2728
29+
# Debug step: check file size so we can verify something was written.
30+
- name: Check google-services.json file size
31+
run: wc -c google-services.json
32+
2833
- name: Build Docker image
2934
run: |
3035
docker build -t codebuilder-webapp:latest .

0 commit comments

Comments
 (0)