UNPKG

klip-sdk

Version:

JavaScript SDK to interact with klip App2App requests

60 lines (59 loc) 2.13 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": "Success Upload TestFlight .", "color": "#3AA3E3", "text": "TestFlight 업로드에 성공했습니다! 🎉", "fields": [ { "title": "Tag", "value": "${{ github.ref_name }}", "short": true }, { "title": "Project", "value": "${{ github.repository }}", "short": true }, { "title": "Actor", "value": "${{ github.actor }}", "short": true }, { "title": "Build number", "value": "${{ inputs.build_number }}", "short": true }, { "title": "지금 바로 TestFlight에서 다운받으세요! ✈️", "value": "*<https://apps.apple.com/app/testflight/id899247664 | TestFlight 다운받기>* | *<itms-beta://apps.apple.com/app/testflight/id899247664 | TestFlight 바로가기>*", "short": true } ] } ] } env: SLACK_WEBHOOK_URL: ${{ inputs.SLACK_WEBHOOK }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK