Skip to content

Commit

Permalink
notify discord on release (#534)
Browse files Browse the repository at this point in the history
* notify discord on release

* update copy
  • Loading branch information
coffee-cup authored Aug 14, 2024
1 parent 111113e commit 022b260
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,21 @@ jobs:
download-url: https://github.com/railwayapp/cli/releases/latest/download/railway-${{ needs.create-release.outputs.railway_version }}-${{ matrix.target }}.tar.gz
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

notify-release:
name: Notify Release
needs: ["create-release", "build-release"]
runs-on: ubuntu-latest

steps:
- 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 ${{ needs.create-release.outputs.railway_version }}"
nofail: false
nodetail: false
username: Github Actions
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png

0 comments on commit 022b260

Please sign in to comment.