Skip to content

Commit

Permalink
Merge pull request #376 from dandi/deploy-on-gh-release
Browse files Browse the repository at this point in the history
Add github action for deploying prod on release
  • Loading branch information
waxlamp authored Jul 1, 2021
2 parents a46c662 + b56a4c1 commit da32e0e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/production-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Trigger production deploy on new release

on:
release:
types:
- published # use `published` instead of `created` b/c `created` also runs on draft releases

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "dandi-api"
heroku_email: ${{secrets.HEROKU_EMAIL}}

0 comments on commit da32e0e

Please sign in to comment.