File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change 40
40
description : Override the author of event
41
41
required : false
42
42
type : string
43
+ environment :
44
+ description : Environment
45
+ required : false
46
+ type : string
43
47
44
48
secrets :
45
49
newRelicApiKey :
51
55
slackToken :
52
56
description : Slack API token
53
57
required : false
58
+ grafanaApiToken :
59
+ description : Slack API token
60
+ required : false
54
61
55
62
jobs :
56
63
new_relic :
64
71
accountId : ${{ inputs.newRelicAccountId }}
65
72
applicationId : ${{ inputs.newRelicApplicationId }}
66
73
revision : ${{ inputs.revision }}
67
-
74
+
75
+ grafana :
76
+ if : inputs.revision != ''
77
+ runs-on : ubuntu-latest
78
+ steps :
79
+ - name : mark release
80
+ uses :
frankie567/[email protected]
81
+ with :
82
+ apiHost : https://grafana.apify.dev
83
+ apiToken : ${{ secrets.grafanaApiToken}}
84
+ text : ${{ inputs.environment }} - Deployment of ${{ inputs.revision }}
85
+ tags : deployment,github
86
+
68
87
sentry :
69
88
if : inputs.sentryOrg != ''
70
89
runs-on : ubuntu-latest
94
113
95
114
slack_notification_failure :
96
115
if : failure() && inputs.slackChannelId != ''
97
- needs :
116
+ needs :
98
117
- new_relic
99
118
- sentry
100
119
uses : ./.github/workflows/slack.yaml
@@ -105,4 +124,4 @@ jobs:
105
124
actorOverride : ${{ inputs.actorOverride }}
106
125
jobStatus : failure
107
126
secrets :
108
- slackToken : ${{ secrets.slackToken }}
127
+ slackToken : ${{ secrets.slackToken }}
You can’t perform that action at this time.
0 commit comments