File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change 1
- name : " Mongoid Release"
2
- run-name : " Mongoid Release for ${{ github.ref }}"
1
+ name : " Gem Release"
2
+ run-name : " Gem Release for ${{ github.ref }}"
3
3
4
4
on :
5
5
# for auto-deploy when merging a release-candidate PR
6
- pull_request :
7
- types : [ closed ]
6
+ push :
7
+ - ' master'
8
+ - ' *-stable'
9
+
10
+ # for manual release
11
+ workflow_dispatch :
12
+ inputs :
13
+ pr :
14
+ description : " The number of the merged release candidate PR"
15
+ required : true
8
16
9
17
env :
10
18
SILK_ASSET_GROUP : mongoid
19
+ GEM_NAME : mongoid
20
+ PRODUCT_NAME : Mongoid
21
+ PRODUCT_ID : mongoid
11
22
12
23
permissions :
13
24
# required for all workflows
48
59
with :
49
60
app_id : ${{ vars.APP_ID }}
50
61
app_private_key : ${{ secrets.APP_PRIVATE_KEY }}
51
- artifact : mongoid
52
- gem_name : mongoid
62
+ artifact : ' ruby-3.2 '
63
+ gem_name : ${{ env.GEM_NAME }}
53
64
ruby_version : ' ruby-3.2'
54
65
ref : ${{ needs.check.outputs.ref }}
55
66
68
79
aws_region_name : ${{ vars.AWS_REGION_NAME }}
69
80
aws_secret_id : ${{ secrets.AWS_SECRET_ID }}
70
81
dry_run : false
71
- gem_name : mongoid
72
- product_name : Mongoid
73
- product_id : mongoid
82
+ gem_name : ${{ env.GEM_NAME }}
83
+ product_name : ${{ env.PRODUCT_NAME }}
84
+ product_id : ${{ env.PRODUCT_ID }}
74
85
release_message : ${{ needs.check.outputs.message }}
75
86
silk_asset_group : ${{ env.SILK_ASSET_GROUP }}
76
87
ref : ${{ needs.check.outputs.ref }}
You can’t perform that action at this time.
0 commit comments