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 36b10db commit df71877
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- name: Fetch application.properties from Secret Manager
run: |
gcloud secrets versions access latest --secret="magnus-staging-properties" --project=${{ env.PROJECT_ID }} > ${{env.GITHUB_WORKSPACE}}/application.properties
cat ${{env.GITHUB_WORKSPACE}}/application.properties
gcloud secrets versions access latest --secret="magnus-staging-properties" --project=${{ env.PROJECT_ID }} > ${{github.workspace}}/application.properties
cat ${{github.workspace}}/application.properties
- name: Deploy to Cloud Run
run: |
Expand All @@ -52,7 +52,7 @@ jobs:
--platform managed \
--allow-unauthenticated \
--no-traffic
--set-env-vars SPRING_CONFIG_LOCATION="file:/${{env.GITHUB_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 df71877

Please sign in to comment.