Skip to content

Commit f144e2b

Browse files
Merge pull request #2 from tomislav-varga/new-feature
solution exercise 11.15
2 parents 2cbf0b4 + 8908241 commit f144e2b

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.github/workflows/pipeline.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,14 @@ jobs:
3939
- run: flyctl deploy --remote-only
4040
env:
4141
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
42+
43+
tag_release:
44+
needs: [simple_deployment_pipeline]
45+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
46+
runs-on: ubuntu-20.04
47+
steps:
48+
- name: Bump version and push tag
49+
uses: anothrNick/[email protected]
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
DEFAULT_BUMP: patch

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('5') // change this string to ensure a new version deployed
10+
res.send('Testing if requirements of exercise 11.15 work') // change this string to ensure a new version deployed
1111
})
1212

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

0 commit comments

Comments
 (0)