Skip to content

Commit bc6a004

Browse files
committed
Add ids
1 parent 640eb53 commit bc6a004

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/prerelease.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
run: npm install
2727

2828
- name: Build
29+
id: build_step
2930
run: grunt build
3031

3132
- name: Complete
@@ -39,6 +40,7 @@ jobs:
3940
aws-region: ${{ secrets.AWS_REGION }}
4041

4142
- name: Publish to S3 Pre-release
43+
id: publish_s3
4244
run: aws s3 sync ./dist ${{ secrets.AWS_PUBLISH_TARGET }}
4345

4446
- name: Deployment Complete
@@ -84,19 +86,19 @@ jobs:
8486
"fields": [
8587
{
8688
"type": "mrkdwn",
87-
"text": "*Branch:*\n${{ github.ref_name }}"
89+
"text": "*Branch:*\n`${{ github.ref_name }}`"
8890
},
8991
{
9092
"type": "mrkdwn",
91-
"text": "*Node version:*\n${{ matrix.node-version }}"
93+
"text": "*Node version:*\n`${{ matrix.node-version }}`"
9294
},
9395
{
9496
"type": "mrkdwn",
9597
"text": "*Build status:*\n${{ steps.build_step.outcome }}"
9698
},
9799
{
98100
"type": "mrkdwn",
99-
"text": "*Publish to bucket `${{ secrets.AWS_PUBLISH_TARGET }}`:*\n${{ steps.publish_s3.outcome }}"
101+
"text": "S3 sync status:*\n${{ steps.publish_s3.outcome }}"
100102
}
101103
]
102104
}

0 commit comments

Comments
 (0)