Skip to content

Commit 564b450

Browse files
solution exercise 11.11
1 parent ff85025 commit 564b450

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/pipeline.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,10 @@ jobs:
2828
with:
2929
command: npm run cypress:run
3030
start: npm run start-prod
31-
wait-on: http://localhost:5001
31+
wait-on: http://localhost:5001
32+
33+
- uses: actions/checkout@v4
34+
- uses: superfly/flyctl-actions/setup-flyctl@master
35+
- run: flyctl deploy --remote-only
36+
env:
37+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

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('2') // change this string to ensure a new version deployed
10+
res.send('3') // change this string to ensure a new version deployed
1111
})
1212

1313
app.listen(PORT, () => {

0 commit comments

Comments
 (0)