Skip to content

Commit

Permalink
changed deploy-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MocStepan committed May 9, 2024
1 parent 1c41698 commit c04c44d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ run-name: "Run ${{github.run_id}}, triggered by ${{github.actor}}"

on:
workflow_dispatch:
pull_request:
branches:
- main

jobs:
deploy-backend:
Expand All @@ -16,7 +19,6 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_BACKEND_NAME }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}
healthcheck: false
branch: 'main'
appdir: 'backend'
procfile: 'web: java $JAVA_OPTS -Dserver.port=$PORT -jar build/libs/backend-1.0.0.jar --spring.profiles.active=prod'

Expand All @@ -31,5 +33,4 @@ jobs:
heroku_app_name: ${{ secrets.HEROKU_FRONTEND_NAME }}
heroku_email: ${{ secrets.HEROKU_EMAIL }}
healthcheck: false
branch: 'main'
appdir: 'frontend'

0 comments on commit c04c44d

Please sign in to comment.