Skip to content

Merge pull request #296 from eatyourgreens/security-package-updates #78

Merge pull request #296 from eatyourgreens/security-package-updates

Merge pull request #296 from eatyourgreens/security-package-updates #78

name: Deploy to Production
on:
push:
tags:
- production-release
workflow_dispatch:
jobs:
deploy_production:
name: Deploy to Production
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main
with:
app_name: sugar
repo_name: sugar
commit_id: ${{ github.sha }}
environment: production
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: "Sugar Production deploy complete"
title_link: "https://notifications.zooniverse.org"
secrets:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}