Skip to content

Commit

Permalink
Merge pull request #15 from zooniverse/gha-deploy
Browse files Browse the repository at this point in the history
Add deploy action, remove Jenkinsfile
  • Loading branch information
zwolf authored Apr 25, 2023
2 parents 169ea5f + cc17da2 commit b569834
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 70 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy_production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy to Production

on:
push:
branches:
- main
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: classroom-maps-api
commit_id: ${{ github.sha }}
latest: true

deploy_production:
name: Deploy to Production
uses: zooniverse/ci-cd/.github/workflows/deploy_app.yaml@main
with:
app_name: classroom-maps-api
commit_id: ${{ github.sha }}
environment: production
secrets:
creds: ${{ secrets.AZURE_AKS }}
70 changes: 0 additions & 70 deletions Jenkinsfile

This file was deleted.

0 comments on commit b569834

Please sign in to comment.