update sandeep-dev #238
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
# From https://dev.to/heroku/deploying-to-heroku-from-github-actions-29ej | |
name: Push Container to Heroku Dev App | |
on: | |
push: | |
branches-ignore: | |
- main | |
- howdy | |
env: | |
HEROKU_APP_NAME: tamuhack-registration-staging | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Login to Heroku Container registry | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
run: heroku container:login | |
- name: Build and push | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
run: heroku container:push -a $HEROKU_APP_NAME web | |
- name: Release | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
run: heroku container:release -a $HEROKU_APP_NAME web |