Skip to content

Commit

Permalink
Fix env vars command
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Dec 3, 2024
1 parent 9fa0d7c commit 4d018c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
SSH_HOST: ${{ secrets.GCP_SSH_HOST_STAGING }}

- name: Update environment variables
run: export $(gcloud secrets versions access latest --secret="$SECRET_NAME" | xargs)
run: ssh staging 'export $(gcloud secrets versions access latest --secret="$SECRET_NAME" | xargs)'
env:
SECRET_NAME: ${{ secrets.GCP_ENV_CONFIGS_SECRET_NAME }}

Expand Down

0 comments on commit 4d018c8

Please sign in to comment.