Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairya-quash authored Nov 5, 2024
1 parent c4714ad commit deca3b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Fetch application.properties from Secret Manager
run: |
gcloud secrets versions access latest --secret="magnus-staging-properties" --project=${{ env.PROJECT_ID }} > /workspace/application.properties
gcloud secrets versions access latest --secret="magnus-staging-properties" --project=${{ env.PROJECT_ID }} > $GITHUB_WORKSPACE/application.properties
- name: Deploy to Cloud Run
run: |
Expand All @@ -51,7 +51,7 @@ jobs:
--platform managed \
--allow-unauthenticated \
--no-traffic
--set-env-vars SPRING_CONFIG_LOCATION="file:/workspace/application.properties" \
--set-env-vars SPRING_CONFIG_LOCATION="file:/$GITHUB_WORKSPACE/application.properties" \
--timeout=600s # Extend to 10 minutes if needed
- name: Shift traffic to new revision
Expand Down

0 comments on commit deca3b4

Please sign in to comment.