Skip to content

update started_at and finished_at to be nil if started_at or finished… #23

update started_at and finished_at to be nil if started_at or finished…

update started_at and finished_at to be nil if started_at or finished… #23

name: Deploy to Production
on:
push:
tags:
- production-release
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: eras
commit_id: ${{ github.sha }}
latest: true
db_migration_production:
name: Production DB Migration
uses: zooniverse/ci-cd/.github/workflows/db_migration.yaml@main
needs: build_and_push_image
with:
app_name: eras
environment: production
commit_id: ${{ github.sha }}
secrets:
creds: ${{ secrets.AZURE_AKS }}
deploy_production:
name: Deploy to Production
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main
needs: [build_and_push_image, db_migration_production]
with:
app_name: eras
repo_name: eras
commit_id: ${{ github.sha }}
environment: production
secrets:
creds: ${{ secrets.AZURE_AKS }}