File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 26
26
run : npm install
27
27
28
28
- name : Build
29
+ id : build_step
29
30
run : grunt build
30
31
31
32
- name : Complete
39
40
aws-region : ${{ secrets.AWS_REGION }}
40
41
41
42
- name : Publish to S3 Pre-release
43
+ id : publish_s3
42
44
run : aws s3 sync ./dist ${{ secrets.AWS_PUBLISH_TARGET }}
43
45
44
46
- name : Deployment Complete
@@ -84,19 +86,19 @@ jobs:
84
86
"fields": [
85
87
{
86
88
"type": "mrkdwn",
87
- "text": "*Branch:*\n${{ github.ref_name }}"
89
+ "text": "*Branch:*\n` ${{ github.ref_name }}` "
88
90
},
89
91
{
90
92
"type": "mrkdwn",
91
- "text": "*Node version:*\n${{ matrix.node-version }}"
93
+ "text": "*Node version:*\n` ${{ matrix.node-version }}` "
92
94
},
93
95
{
94
96
"type": "mrkdwn",
95
97
"text": "*Build status:*\n${{ steps.build_step.outcome }}"
96
98
},
97
99
{
98
100
"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 }}"
100
102
}
101
103
]
102
104
}
You can’t perform that action at this time.
0 commit comments