-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
43 lines (42 loc) · 1.17 KB
/
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: 'Initia Push to Repo'
description: 'Push files from repository other repository.'
inputs:
sources:
description: 'files/directories to copy to the destination repository'
required: true
destination-username:
description: 'name/org of the destination username/org'
required: true
destination-repo:
description: 'name of the destination repository'
required: true
destination-branch:
description: 'branch name of the destination repository'
default: 'main'
required: false
destination-dir:
description: 'destination directory to copy files'
default: '.'
required: false
email:
description: 'email for the commit'
required: true
commit-username:
description: 'username for the commit'
default: ''
required: false
commit-msg:
description: 'commit message'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.sources }}
- ${{ inputs.destination-username }}
- ${{ inputs.destination-repo }}
- ${{ inputs.destination-branch }}
- ${{ inputs.destination-dir }}
- ${{ inputs.email }}
- ${{ inputs.commit-username }}
- ${{ inputs.commit-msg }}