Skip to content

Commit

Permalink
added line to ensure it is only pushed to heroku when merging into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarrsm committed Aug 30, 2023
1 parent ef8eccb commit 4ca8032
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
path: db-scheduler-ui-backend/target/*.jar

- name: Deploy to Heroku
if: github.ref == 'refs/heads/main'
uses: akhileshns/[email protected]
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
Expand Down

0 comments on commit 4ca8032

Please sign in to comment.