UNPKG

klip-sdk

Version:

JavaScript SDK to interact with klip App2App requests

49 lines 1.48 kB
name: Slack message author: Bolt Lee description: 'Send message using slack' inputs: SLACK_WEBHOOK: description: 'Need SLACK_WEBHOOK_URL' required: true default: '' build_number: description: 'fastlane BUILD_NUMBER' required: true default: '' runs: using: "composite" steps: - name: Send custom JSON data to Slack workflow id: slack uses: slackapi/slack-github-action@v1.26.0 with: payload: | { "attachments": [ { "fallback": "Failure Deploy All.", "color": "#A40101", "text": "Failure Deploy All", "fields": [ { "title": "Tag", "value": "${{ github.ref_name }}", "short": true }, { "title": "Project", "value": "${{ github.repository }}", "short": true }, { "title": "Actor", "value": "${{ github.actor }}", "short": true } ] } ] } env: SLACK_WEBHOOK_URL: ${{ inputs.SLACK_WEBHOOK }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK