Skip to content

Commit 6f21e3f

Browse files
update: version endpoint
1 parent 2567c8b commit 6f21e3f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
simple_deployment_pipeline:
13+
if: ${{ github.event_name == 'push' }}
1314
runs-on: ubuntu-20.04
1415

1516
steps:

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const PORT = process.env.PORT || 5001
77
app.use(express.static("dist"))
88

99
app.get('/version', (req, res) => {
10-
res.send('4') // change this string to ensure a new version deployed
10+
res.send('5') // change this string to ensure a new version deployed
1111
})
1212

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

0 commit comments

Comments
 (0)