Skip to content

Commit

Permalink
chore: 👷 tune up deploy script added secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
cif committed May 29, 2024
1 parent 72aca95 commit f0cd2f9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,9 @@ jobs:
- name: "Deploy"
if:
run: |
echo "***DO NOT USE*** THESE VALUES IN PRODUCTION!"
echo " I MAY NOT BE ABLE TO FIRE YOU, BUT YOU SHOULD BE FIRED IF YOU DO."
echo "USE SECRETS MANAGER FOR JWT SIGNING KEY, OR A THIRD PARTY PROVIDER LIKE HASHICORP."
echo "DEBUG: surface:*" >> env.yaml
echo "SELF_RPC_HOST: https://surface-demo-app-5v6fvk5ela-uw.a.run.app/" >> env.yaml
echo "JWT_SECRET: sup4h.secr1t.jwt.🔑" >> env.yaml
gcloud run deploy surface-demo-app \
gcloud run deploy switch-demo-app \
--image "${{ secrets.GCP_AR_PATH }}/app:${GITHUB_SHA::6}" \
--env-vars-file env.yaml \
--service-account ${{ secrets.GCP_APP_SERVICE_ACCOUNT }} \
Expand Down

0 comments on commit f0cd2f9

Please sign in to comment.