Skip to content

Commit c24fdf2

Browse files
committed
-add json file
1 parent 6c6395e commit c24fdf2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/terraform_apply.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ jobs:
4949
5050
# Create google cloud service account credential.json file
5151
- name: Configure GCP service account credentials
52-
run: echo "${{ secrets.GCP_SERVICE_ACCOUNT_JSON_VALUE }}" > credentials.json
52+
id: create-json
53+
uses: jsdaniell/[email protected]
54+
with:
55+
name: "credentials.json"
56+
json: ${{ secrets.GCP_SERVICE_ACCOUNT_JSON_VALUE }}
5357

5458
# Create github ssh key directory
5559
- name: Configure github ssh

0 commit comments

Comments
 (0)