Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
silhouetteUA authored Dec 27, 2023
1 parent 67ceae4 commit 83081ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ jobs:
project_id: ${{ secrets.GCP_PROJECT_ID }}
service_account_key: ${{ secrets.GCP_SA_KEY }}
export_default_credentials: true
- name: 'auth'
uses: 'google-github-actions/auth@v2'
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
- name: Access GCP Secret Manager Secret
run: |
SECRET_VALUE=$(gcloud secrets versions access latest --secret=${{ env.SECRET_NAME }} )
SECRET_VALUE=$(gcloud secrets versions access latest --secret=${{ env.SECRET_NAME }})
echo "Secret Value: $SECRET_VALUE"
# ci:
# name: continious integration
Expand Down

0 comments on commit 83081ce

Please sign in to comment.