File: .github/workflows/release_notice.yml

Recommend this page to a friend!
  Classes of Arturs Sosins   Countly Web SDK   .github/workflows/release_notice.yml   Download  
File: .github/workflows/release_notice.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Countly Web SDK
Track site accesses and errors the Countly API
Author: By
Last change:
Date: 6 months ago
Size: 1,507 bytes


Class file image Download
name: Release Notice on: release: types: [published] workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: # To check the github context - name: Dump Github context env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: echo "$GITHUB_CONTEXT" - name: Send custom JSON data to Slack workflow id: slack uses: slackapi/slack-github-action@v1.23.0 with: # This data can be any valid JSON from a previous step in the GitHub Action payload: | { "repository": "${{ github.repository }}", "tag_name": "${{ github.event.release.tag_name }}", "actor": "${{ }}", "body": ${{ toJSON(github.event.release.body) }}, "html_url": "${{ github.event.release.html_url }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE }} - name: Send custom JSON data to Discord uses: sarisia/actions-status-discord@v1.13.0 with: webhook: ${{ secrets.DISCORD_WEBHOOK_URL }} nodetail: true title: New ${{ github.repository }} version ${{ github.event.release.tag_name }} published by ${{ }} description: | Release URL: ${{ github.event.release.html_url }} Click [here]( to view the change log. `${{ github.event.release.body }}`