Skip to content

Commit

Permalink
fixed branchs usage
Browse files Browse the repository at this point in the history
  • Loading branch information
renansantosmendes committed Nov 3, 2022
1 parent 5c7c238 commit 4d81dd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: FastAPI-GitHub-Heroku

on:
push:
branches:
- main
- four_lecture
pull_request:
branches:
- main
Expand Down Expand Up @@ -41,7 +38,7 @@ jobs:
env:
HEROKU_AUTH_TOKEN: ${{ secrets.HEROKU_AUTH_TOKEN }}
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }}

run: |
git remote add heroku https://heroku:$HEROKU_AUTH_TOKEN@git.heroku.com/$HEROKU_APP_NAME.git
git push heroku HEAD:master -f

0 comments on commit 4d81dd6

Please sign in to comment.