Skip to content

Commit

Permalink
CBDEVOPS-503 update azure env update step
Browse files Browse the repository at this point in the history
  • Loading branch information
shashanksinha89 authored and codydjango committed Jul 25, 2024
1 parent 92e6f18 commit d1a3365
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1a3365

Please sign in to comment.