Skip to content

Commit

Permalink
Merge pull request #1038 from dandi/fix-heroku-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt authored Apr 18, 2022
2 parents 6885ca4 + e9accf5 commit 7402945
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/backend-production-deploy.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .github/workflows/update-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ jobs:
fetch-depth: 0 # fetch history for all branches and tags
token: ${{ secrets.GH_TOKEN }} # use PAT with permissions to push to master
ref: release

- name: Reset release branch
run: |
git reset --hard ${{ github.ref }}
git push --force origin release
- name: Deploy to Heroku
- uses: akhileshns/heroku-deploy@v3.12.12
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "dandi-api"
heroku_email: ${{secrets.HEROKU_EMAIL}}

0 comments on commit 7402945

Please sign in to comment.