File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -128,3 +128,32 @@ jobs:
128128 run : |
129129 npx cap sync ios
130130 xcodebuild archive -workspace ios/App/App.xcworkspace -scheme App -sdk iphoneos -configuration Debug -archivePath build/App.xcarchive -showBuildTimingSummary -allowProvisioningUpdates archive
131+
132+ notification-success :
133+ runs-on : ubuntu-latest
134+ needs : test
135+
136+ steps :
137+ - uses : actions/checkout@v2
138+
139+ - name : Slack Notification
140+ uses : rtCamp/action-slack-notify@v2
141+ if : ${{ github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop'}}
142+ env :
143+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
144+ SLACK_COLOR : ' success'
145+
146+ notification-failure :
147+ runs-on : ubuntu-latest
148+ needs : test
149+ if : ${{ failure() }}
150+
151+ steps :
152+ - uses : actions/checkout@v2
153+
154+ - name : Slack Notification
155+ uses : rtCamp/action-slack-notify@v2
156+ if : ${{ github.ref == 'refs/heads/develop' || github.event.pull_request.base.ref == 'develop'}}
157+ env :
158+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
159+ SLACK_COLOR : ' failure'
You can’t perform that action at this time.
0 commit comments