Skip to content

Merge pull request #741 from ramanakumars/leveling_up_fix #139

Merge pull request #741 from ramanakumars/leveling_up_fix

Merge pull request #741 from ramanakumars/leveling_up_fix #139

Workflow file for this run

name: Deploy to Production
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build_and_push_image:
name: Build and Push Image
uses: zooniverse/ci-cd/.github/workflows/build_and_push_image.yaml@main
with:
repo_name: aggregation-for-caesar
commit_id: ${{ github.sha }}
latest: true
build_args: "REVISION=${{ github.sha }}"
deploy_production:
name: Deploy to Production
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main
needs: build_and_push_image
with:
app_name: aggregation-caesar
repo_name: aggregation-for-caesar
commit_id: ${{ github.sha }}
environment: production
deploy_check: false
secrets:
creds: ${{ secrets.AZURE_AKS }}
slack_notification:
name: Slack notification
uses: zooniverse/ci-cd/.github/workflows/slack_notification.yaml@main
needs: deploy_production
if: always()
with:
commit_id: ${{ github.sha }}
job_name: Deploy to Production / deploy_app
status: ${{ needs.deploy_production.result }}
title: "Aggregation deploy complete"
title_link: "https://aggregation-caesar.zooniverse.org"
secrets:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}