From d1a3365b898cb768dcf94bfd24cb35efd3540d54 Mon Sep 17 00:00:00 2001 From: Shashank Sinha Date: Thu, 6 Jun 2024 23:13:28 +0530 Subject: [PATCH] CBDEVOPS-503 update azure env update step --- .github/workflows/create-github-release.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-github-release.yml b/.github/workflows/create-github-release.yml index 687a0626..7fae9dca 100644 --- a/.github/workflows/create-github-release.yml +++ b/.github/workflows/create-github-release.yml @@ -48,12 +48,16 @@ jobs: - name: Update DJANGO_SCAFFOLD_REPO_BRANCH Environment Variable id: update-env-var - uses: ./github-actions/publish-release-sha + uses: ./github-actions/set-azure-env-var with: - heroku_api_key: ${{ secrets.HEROKU_API_TOKEN }} - heroku_app_name: 'crowdbotics-slack' - git_sha: ${{ steps.release.outputs.tag_version }} - env_var_name: 'DJANGO_SCAFFOLD_REPO_BRANCH' + resource_group: ${{ secrets.AZURE_RESOURCE_GROUP }} + cluster_name: ${{ secrets.AZURE_CLUSTER_NAME }} + app_name: crowdbotics-app + app_namespace: cb-core + env_var: DJANGO_SCAFFOLD_REPO_BRANCH + env_value: ${{ steps.release.outputs.tag_version }} + token: ${{ secrets.TOKEN }} + azure_credentials: ${{ secrets.AZURE_CREDENTIALS }} - uses: act10ns/slack@v2 env: