Skip to content

Commit

Permalink
ci: notify new releases in Slack
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCane committed Dec 28, 2023
1 parent f93f4ef commit 12f517d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/notify-new-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: ☝️ Notify new release ready to deploy

on:
release:
types: [published]

jobs:
send-notification:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Send custom JSON data to Slack workflow
id: slack
uses: slackapi/slack-github-action@v1
env:
SLACK_WEBHOOK_URL: ${{ secrets.RELEASE_NOTIFICATION__SLACK_WEBHOOK_URL }}
with:
payload: |
{
"n8n_version": "value"
}

0 comments on commit 12f517d

Please sign in to comment.