File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,21 @@ jobs:
15
15
- name : Check out repository
16
16
uses : actions/checkout@v3
17
17
18
+ # Create the google-services.json file from the secret.
18
19
- name : Create google-services.json
19
20
run : |
20
- # Use printf to preserve the formatting and newlines
21
+ # Use printf to preserve formatting/ newlines
21
22
printf "%s" "${{ secrets.GOOGLE_SERVICES_JSON }}" > google-services.json
22
23
24
+ # Optional: Create .env file from a secret (if needed)
23
25
- name : Create .env file
24
26
run : |
25
- # Similarly, create the .env file with proper formatting
26
27
printf "%s" "${{ secrets.ENV_FILE_CONTENT }}" > .env
27
28
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
+
28
33
- name : Build Docker image
29
34
run : |
30
35
docker build -t codebuilder-webapp:latest .
You can’t perform that action at this time.
0 commit comments