File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 16
16
description : Whether to download Git-LFS files.
17
17
type : boolean
18
18
required : false
19
+ push_tags :
20
+ description : Whether to also push tags to backup origin.
21
+ type : boolean
22
+ required : false
23
+ default : false
19
24
secrets :
20
25
SSH_PRIVATE_KEY :
21
26
required : true
44
49
run : git remote add backup ${{ inputs.remote }}
45
50
- name : Push to partner repository
46
51
run : git push backup HEAD:"$GITHUB_REF"
52
+ - name : Push tags
53
+ if : ${{ inputs.push_tags }}
54
+ run : git push backup HEAD:"$GITHUB_REF" --tags
Original file line number Diff line number Diff line change 16
16
description : Whether to download Git-LFS files.
17
17
type : boolean
18
18
required : false
19
+ push_tags :
20
+ description : Whether to also push tags to backup origin.
21
+ type : boolean
22
+ required : false
23
+ default : false
19
24
secrets :
20
25
SSH_PRIVATE_KEY :
21
26
required : true
48
53
run : git remote add backup ${{ inputs.remote }}
49
54
- name : Push to partner repository
50
55
run : git push backup HEAD:"$GITHUB_REF"
56
+ - name : Push tags
57
+ if : ${{ inputs.push_tags }}
58
+ run : git push backup HEAD:"$GITHUB_REF" --tags
You can’t perform that action at this time.
0 commit comments