From 4d81dd6599bb497b5c494f331af8f15357117340 Mon Sep 17 00:00:00 2001 From: Renan Santos Date: Thu, 3 Nov 2022 10:59:00 -0300 Subject: [PATCH] fixed branchs usage --- .github/workflows/pipeline.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 9a91c15..3369b43 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -2,9 +2,6 @@ name: FastAPI-GitHub-Heroku on: push: - branches: - - main - - four_lecture pull_request: branches: - main @@ -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 \ No newline at end of file