-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
43 lines (43 loc) · 1011 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: 'Run mysqldef'
description: '🐶 Run mysqldef'
author: 'k0kubun (mysqldef)'
inputs:
github_token:
description: 'GITHUB_TOKEN.'
required: true
github_repository:
description: 'GITHUB_REPOSITORY.'
required: true
mysql_host:
description: 'MYSQL_HOST'
default: '127.0.0.1'
mysql_port:
description: 'MYSQL_PORT'
default: '3306'
mysql_user:
description: 'MYSQL_USER'
required: true
mysql_password:
description: 'MYSQL_PASSWORD'
required: true
mysql_database:
description: 'MYSQL_DATABASE'
required: true
schema_path:
description: 'SCHEMA_PATH'
default: schema.sql
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.github_token }}
- ${{ inputs.github_repository }}
- ${{ inputs.mysql_host }}
- ${{ inputs.mysql_port }}
- ${{ inputs.mysql_user }}
- ${{ inputs.mysql_password }}
- ${{ inputs.mysql_database }}
- ${{ inputs.schema_path }}
branding:
icon: 'edit'
color: 'gray-dark'