Skip to content

Commit 7497dca

Browse files
committed
build : gcp 인증 추가 auth@v2
1 parent cd160c9 commit 7497dca

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/file-upload-service-deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ jobs:
1313
- name: Checkout Repository
1414
uses: actions/checkout@v3
1515

16+
- name: Set up Google Cloud authentication
17+
uses: google-github-actions/auth@v2
18+
with:
19+
credentials_json: ${{ secrets.GCP_SA_KEY }}
20+
1621
- name: Setup Cloud SDK
1722
uses: google-github-actions/setup-gcloud@v2
1823
with:
1924
project_id: ${{ secrets.GCP_PROJECT_ID }}
20-
service_account_key: ${{ secrets.GCP_SA_KEY }}
2125
export_default_credentials: true
2226

2327
- name: Deploy to Google Cloud Functions

0 commit comments

Comments
 (0)