From df718772074768d3633cd96521b3d0632d9c9531 Mon Sep 17 00:00:00 2001 From: Dhairya <161799860+dhairya-quash@users.noreply.github.com> Date: Tue, 5 Nov 2024 18:37:47 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a05b06..a7b8780 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | @@ -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