Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBDEVOPS-503 update azure env update step #762

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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