Skip to content

Merge pull request #21 from zooniverse/gha-deploy #1

Merge pull request #21 from zooniverse/gha-deploy

Merge pull request #21 from zooniverse/gha-deploy #1

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: prn-maps-api
commit_id: ${{ github.sha }}
latest: true
deploy_production:
name: Deploy to Production
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main
needs: build_and_push_image
with:
app_name: prn-maps-api
repo_name: prn-maps-api
commit_id: ${{ github.sha }}
environment: production
secrets:
creds: ${{ secrets.AZURE_AKS }}