Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix google authentication a different way
Browse files Browse the repository at this point in the history
rogthefrog committed Nov 27, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent d2adaea commit afba62e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/scheduled-smoke-test.yml
Original file line number Diff line number Diff line change
@@ -56,11 +56,10 @@ jobs:
run: poetry install --no-interaction --sync --extras all_plugins


- name: Write Vertex AI secrets
run: |
mkdir -p ~/.local/.config/gcloud
echo "${{ secrets.VERTEX_AI_CREDENTIALS_JSON }}" > ~/.config/gcloud/application_default_credentials.json
echo "GOOGLE_APPLICATION_CREDENTIALS=~/.config/gcloud/application_default_credentials.json" >> $GITHUB_ENV
- name: Vertex AI authentication
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.VERTEX_AI_CREDENTIALS_JSON }}'

- name: Write secrets
env:

0 comments on commit afba62e

Please sign in to comment.