Skip to content

Commit

Permalink
fix: GCE_CD.yml/Clean up GCP authentication files 에러
Browse files Browse the repository at this point in the history
- clean하게 할 GCP authentication file이 없을 경우 발생하는 에러를 해결합니다.
  • Loading branch information
Seokyoung-Hong authored Jan 2, 2025
1 parent cef37e7 commit 950f75b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/GCE_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:

- name: Clean up GCP authentication files
run: |
gcloud auth revoke --all
if gcloud auth list --format="value(account)" | grep -q .; then
gcloud auth revoke --all
fi
rm -f ~/.config/gcloud/application_default_credentials.json
- name: Set up Cloud SDK
Expand Down

0 comments on commit 950f75b

Please sign in to comment.