44 lines
1,008 B
YAML
44 lines
1,008 B
YAML
name: 'Google Chat Action'
|
|
author: 'D Ther Htun'
|
|
description: 'Github actions for google chat Room Bot'
|
|
branding:
|
|
icon: 'at-sign'
|
|
color: 'green'
|
|
inputs:
|
|
project:
|
|
description: 'Github Project Name'
|
|
required: true
|
|
commit:
|
|
description: 'Github Commit ID'
|
|
required: true
|
|
branch:
|
|
description: 'Github Branch'
|
|
required: true
|
|
status:
|
|
description: 'Github Action Build Status'
|
|
required: true
|
|
actionid:
|
|
description: 'Current Running Action ID'
|
|
required: true
|
|
webhook:
|
|
description: 'Google Chat Webhook URL'
|
|
required: true
|
|
|
|
runs:
|
|
# using: 'docker'
|
|
using: 'composite'
|
|
steps:
|
|
- name: 'Run Google Chat Action'
|
|
shell: bash
|
|
run: |
|
|
docker run --rm -it $(docker build -q .)
|
|
|
|
#image: 'docker://dther/google-chat-action:v0.8'
|
|
#image: 'Dockerfile'
|
|
#args:
|
|
# - ${{ inputs.project }}
|
|
# - ${{ inputs.commit }}
|
|
# - ${{ inputs.branch }}
|
|
# - ${{ inputs.status }}
|
|
# - ${{ inputs.actionid }}
|
|
# - ${{ inputs.webhook }}
|