Skip to content

Commit

Permalink
Merge pull request #2 from devserkan/add-new-feature
Browse files Browse the repository at this point in the history
11.14 Run deployment step only for the main branch pull request
  • Loading branch information
devserkan authored Sep 12, 2024
2 parents 213cb6c + e58c885 commit 74045be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/fly-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
deploy:
name: Deploy app
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
Expand Down
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const app = express()
const PORT = process.env.PORT || 5001

app.get('/version', (req, res) => {
res.send('2')
res.send('6')
})

app.get('/health', (req, res) => {
Expand Down

0 comments on commit 74045be

Please sign in to comment.