Skip to content

Commit

Permalink
Merge pull request #19 from huineng/gh
Browse files Browse the repository at this point in the history
Gh testing merge
  • Loading branch information
huineng authored Feb 25, 2021
2 parents a1315f2 + 8a7db43 commit 833dc3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/diem-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,19 @@ jobs:
with:
status: custom
fields: all
username: "Diem CI UN"
icon_emoji: ":diem:"
channel: "#diem-ci"
author_name: Diem CI
custom_payload: |
{
username: 'Diem GitHub Action',
icon_emoji: ':diem:',
channel: '#diem-ci',
author_name: 'Diem CI',
attachments: [{
color: '${{ job.status }}' === 'success' ? 'good' : '${{ job.status }}' === 'failure' ? 'danger' : 'warning',
text: `${process.env.AS_WORKFLOW} of ${process.env.AS_AUTHOR.split(/[<@]/)[1]}'s "${process.env.AS_MESSAGE}" in ${process.env.AS_REF.replace('refs/heads/', '')} ${'${{ job.status }}' === 'success' ? 'succeeded' : '${{ job.status }}' === 'failure' ? 'failed' : '${{ job.status }}'} in ${process.env.AS_TOOK}`,
}]
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
if: always()

Expand All @@ -72,4 +71,5 @@ jobs:
author_name: Diem CI
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} # required
GITHUB_TOKEN: ${{ github.token }}
if: always()
2 changes: 1 addition & 1 deletion applications/dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dashboard-ui",
"description": "Home Module for Leap",
"version": "1.0.3",
"version": "1.0.5",
"author": "[email protected]",
"config": {
"sitename": "Expo",
Expand Down

0 comments on commit 833dc3a

Please sign in to comment.