forked from zent-contrib/sync-git-branch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
30 lines (30 loc) · 966 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
name: "Sync Git Branch Action"
description: "Action for synchronizing a git branch to another location (Bitbucket, GitHub, GitLab, etc.) using SSH."
branding:
icon: "copy"
color: "blue"
inputs:
source-repo:
description: "SSH URL of the source repository. Defaults to the repository this actions runs in."
required: false
default: 'git@github.com:${{ github.repository }}.git'
source-branch:
description: "Branch name in source repository."
required: true
default: ""
destination-repo:
description: "SSH URL of the destination repository."
required: true
default: ""
destination-branch:
description: "Branch name in destination repository. Defaults to source-branch if not present."
required: false
default: ""
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.source-repo }}
- ${{ inputs.source-branch }}
- ${{ inputs.destination-repo }}
- ${{ inputs.destination-branch }}