File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 9292 script : |
9393 const success = '${{ steps.delete.outcome }}' === 'success';
9494 const message = success
95- ? '✅ Review app successfully deleted'
95+ ? [
96+ '✅ Review app successfully deleted',
97+ '',
98+ '⚡ [Control Plane Console](https://console.cpln.io/console/org/' + process.env.CPLN_ORG + '/gvc/' + process.env.APP_NAME + '/workload)'
99+ ].join('\n')
96100 : '❌ Review app deletion failed';
97101
98102 await github.rest.issues.updateComment({
@@ -154,7 +158,9 @@ jobs:
154158 if : steps.determine_action.outputs.action == 'deploy'
155159 uses : ./.github/actions/build-docker-image
156160 with :
157- github_token : ${{ secrets.GITHUB_TOKEN }}
161+ app_name : ${{ env.APP_NAME }}
162+ org : ${{ env.CPLN_ORG }}
163+ commit : ${{ github.event.comment.body && steps.getRef.outputs.PR_SHA || github.sha }}
158164
159165 - name : Deploy to Control Plane
160166 if : steps.determine_action.outputs.action == 'deploy'
@@ -205,6 +211,8 @@ jobs:
205211 '',
206212 '🌐 Rails App: [' + railsUrl + '](' + railsUrl + ')',
207213 '',
214+ '⚡ [Control Plane Console for Review App](https://console.cpln.io/console/org/' + process.env.CPLN_ORG + '/gvc/' + process.env.APP_NAME + '/workload)',
215+ '',
208216 '[View Workflow Status](' + workflowUrl + ')'
209217 ].join('\n');
210218
You can’t perform that action at this time.
0 commit comments