Skip to content

Commit

Permalink
fix commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
makamekm committed Feb 22, 2020
1 parent 33ce105 commit d5e1e36
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/npm_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: get commit message
run: echo ::set-env name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})
id: get_commitmsg
run: echo ::set-output name=commitmsg::$(git log --format=%B -n 1 ${{ github.event.after }})
- name: show commit message
run : echo $commitmsg
run : echo ${{ steps.get_commitmsg.outputs.commitmsg }}
- name: send a success message
uses: appleboy/telegram-action@master
with:
Expand All @@ -38,7 +39,8 @@ jobs:
SUCCESSFULLY - test
Triggered by ${{ github.event_name }} event
https://github.com/makamekm/figma-react/actions/runs/${{ github.run_id }}
$commitmsg
---
${{ steps.get_commitmsg.outputs.commitmsg }}
- name: send a fail message
uses: appleboy/telegram-action@master
if: failure()
Expand All @@ -50,4 +52,5 @@ jobs:
FAILED - test
Triggered by ${{ github.event_name }} event
https://github.com/makamekm/figma-react/actions/runs/${{ github.run_id }}
$commitmsg
---
${{ steps.get_commitmsg.outputs.commitmsg }}

0 comments on commit d5e1e36

Please sign in to comment.