-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from zooniverse/gha-deploy
Add deploy action, remove Jenkinsfile
- Loading branch information
Showing
2 changed files
with
26 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.