File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 32
32
run : flyctl deploy --remote-only
33
33
env :
34
34
FLY_API_TOKEN : ${{ secrets.FLY_API_TOKEN }}
35
+ - name : Notify Discord on success
36
+ if : ${{ success() && env.SHOULD_DEPLOY == 'true' }}
37
+ uses : rjstone/discord-webhook-notify@v1
38
+ with :
39
+ severity : info
40
+ details : Deployment succeeded!
41
+ webhookUrl : ${{ secrets.DISCORD_WEBHOOK }}
42
+ username : ' devserkan'
43
+ - name : Notify Discord on failure
44
+ if : ${{ failure() && env.SHOULD_DEPLOY == 'true' }}
45
+ uses : rjstone/discord-webhook-notify@v1
46
+ with :
47
+ severity : error
48
+ details : Deployment failed!
49
+ webhookUrl : ${{ secrets.DISCORD_WEBHOOK }}
50
+ username : ' devserkan'
35
51
tag_release :
36
52
if : ${{ github.event_name == 'push' && !contains(join(github.event.commits.*.message), '#skip') }}
37
53
needs : [simple_deployment_pipeline]
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const app = express()
5
5
const PORT = process . env . PORT || 5001
6
6
7
7
app . get ( '/version' , ( req , res ) => {
8
- res . send ( '13 ' )
8
+ res . send ( '14 ' )
9
9
} )
10
10
11
11
app . get ( '/health' , ( req , res ) => {
You can’t perform that action at this time.
0 commit comments