Skip to content

Commit

Permalink
feat: commit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
amondnet committed Oct 17, 2019
1 parent b89568d commit e9eb2d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,10 @@ on:
- master

jobs:
prepare:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[ci skip]') && ! contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: echo "${{ github.event.head_commit.message }}"
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v1
- uses: ./
id: now-deployment
with:
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function run () {
await createComment()
} else if (context.payload.push) {
core.info('this is push event')

await createCommentOnCommit()
}
}

Expand Down

0 comments on commit e9eb2d1

Please sign in to comment.