Skip to content

Commit

Permalink
Populate enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
psiemens committed Dec 3, 2024
1 parent 194ba15 commit 9fa0d7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ jobs:
SSH_KEY: ${{ secrets.GCP_SSH_PRIVATE_KEY_STAGING }}
SSH_HOST: ${{ secrets.GCP_SSH_HOST_STAGING }}

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

- name: Update docker-compose.yml
run: scp docker-compose.yml staging:/opt/ubyssey.ca/docker-compose.yml

Expand Down

0 comments on commit 9fa0d7c

Please sign in to comment.