File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
ALIAS : ${{ steps.calculate-env.outputs.alias }}
17
17
TITLE : ${{ steps.calculate-env.outputs.title }}
18
18
SLACK_CHANNEL : " docs-review"
19
+ COMMIT_URL : ${{ steps.calculate-env.outputs.commit_url }}
19
20
steps :
20
21
- name : Checkout code
21
22
uses : actions/checkout@v4
34
35
echo newest_version=$NEWEST_VERSION >> $GITHUB_OUTPUT
35
36
echo alias=$ALIAS >> $GITHUB_OUTPUT
36
37
echo title=$TITLE >> $GITHUB_OUTPUT
38
+ echo "commit_url=$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/commit/$GITHUB_SHA" >> $GITHUB_OUTPUT
37
39
38
40
if [[ "$CURRENT_BRANCH" == "$NEWEST_VERSION" ]]; then
39
41
echo "Deploying $NEWEST_VERSION as latest..."
95
97
SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
96
98
SLACK_COLOR : ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
97
99
SLACK_TITLE : " RunAI-Docs: Version ${{ needs.env.outputs.CURRENT_BRANCH }} Deployment ${{ contains(needs.*.result, 'failure') && 'failed' || 'completed successfully' }}"
98
- SLACK_MESSAGE_ON_SUCCESS : " Docs were updated successfully for version ${{ needs.env.outputs.TITLE }}"
99
- SLACK_MESSAGE_ON_FAILURE : " Docs update FAILED for version ${{ needs.env.outputs.TITLE }}"
100
+ SLACK_MESSAGE_ON_SUCCESS : " Docs were updated successfully for version ${{ needs.env.outputs.TITLE }}. Commit URL: ${{ needs.env.outputs.COMMIT_URL }} "
101
+ SLACK_MESSAGE_ON_FAILURE : " Docs update FAILED for version ${{ needs.env.outputs.TITLE }}. Commit URL: ${{ needs.env.outputs.COMMIT_URL }} "
100
102
MSG_MINIMAL : true
101
103
SLACK_FOOTER : " "
102
104
You can’t perform that action at this time.
0 commit comments