Skip to content

Commit

Permalink
Send message to discord when CLI is published (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
coffee-cup authored Oct 3, 2020
1 parent c691ec5 commit edee15a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,15 @@ jobs:
run: npm publish --access public
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Discord Deployment Status Notification
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DEPLOY_WEBHOOK }}
status: ${{ job.status }}
title: "Published CLI"
description: "Published CLI version ${{ steps.vars.outputs.tag }} to Brew and NPM"
nofail: false
nodetail: false
username: Github Actions
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png

0 comments on commit edee15a

Please sign in to comment.