Skip to content

Commit

Permalink
Deploy prod gh action (#167)
Browse files Browse the repository at this point in the history
* wip using tove as a template for deploy prod

* Revert "wip using tove as a template for deploy prod"

This reverts commit b9f6a46.

* using designator as template

* remove jenkinsfile
  • Loading branch information
yuenmichelle1 authored Dec 20, 2023
1 parent a7636ee commit 0cbe9fa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 73 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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: theia
repo_name: theia
commit_id: ${{ github.sha }}
environment: production
secrets:
creds: ${{ secrets.AZURE_AKS }}

deploy_slack_notification:
name: Deploy 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: "Theia Production deploy complete"
title_link: "https://theia.zooniverse.org"
secrets:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
73 changes: 0 additions & 73 deletions Jenkinsfile

This file was deleted.

0 comments on commit 0cbe9fa

Please sign in to comment.