2020-03-29 08:44:47 -06:00
|
|
|
name: 'Push directory to another repository'
|
|
|
|
description: 'Useful to push files to another repository to be used, for example, via github pages'
|
|
|
|
inputs:
|
|
|
|
source-directory:
|
|
|
|
description: 'Source directory from the origin directory'
|
|
|
|
required: true
|
|
|
|
destination-github-username:
|
|
|
|
description: 'Name of the destination username/organization'
|
|
|
|
required: true
|
|
|
|
destination-repository-name:
|
|
|
|
description: 'Destination repository'
|
|
|
|
required: true
|
2020-03-29 09:20:35 -06:00
|
|
|
user-email:
|
|
|
|
description: 'Email for the git commit'
|
|
|
|
required: true
|
2020-08-07 14:49:54 -06:00
|
|
|
destination-repository-username:
|
|
|
|
description: '[Optional] Username/organization for the destination repository'
|
|
|
|
required: false
|
2020-11-04 08:02:44 -07:00
|
|
|
default: ''
|
2020-09-23 01:49:12 -06:00
|
|
|
target-branch:
|
2020-11-04 08:02:44 -07:00
|
|
|
description: '[Optional] set target branch name for the destination repository. Defaults to "master"'
|
|
|
|
default: 'master'
|
2020-09-23 01:49:12 -06:00
|
|
|
required: false
|
2020-11-04 09:26:43 -07:00
|
|
|
commit-message:
|
|
|
|
description: '[Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin repo'
|
2020-11-04 09:23:02 -07:00
|
|
|
default: 'Update from ORIGIN_COMMIT'
|
|
|
|
required: false
|
2020-03-29 08:44:47 -06:00
|
|
|
runs:
|
|
|
|
using: 'docker'
|
|
|
|
image: 'Dockerfile'
|
|
|
|
args:
|
|
|
|
- ${{ inputs.source-directory }}
|
|
|
|
- ${{ inputs.destination-github-username }}
|
|
|
|
- ${{ inputs.destination-repository-name }}
|
2020-06-08 15:49:19 -06:00
|
|
|
- ${{ inputs.user-email }}
|
2020-08-07 14:49:54 -06:00
|
|
|
- ${{ inputs.destination-repository-username }}
|
2020-09-23 01:49:12 -06:00
|
|
|
- ${{ inputs.target-branch }}
|
2020-11-04 09:23:02 -07:00
|
|
|
- ${{ inputs.commit-message }}
|
2020-03-29 13:30:17 -06:00
|
|
|
branding:
|
|
|
|
icon: 'git-commit'
|
|
|
|
color: 'green'
|