File tree Expand file tree Collapse file tree 4 files changed +32
-4
lines changed Expand file tree Collapse file tree 4 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 7
7
publish :
8
8
name : Publish
9
9
runs-on : ubuntu-latest
10
+ env :
11
+ TARGET_URL : https://rubygems.org/gems/patch_ruby
12
+
10
13
steps :
11
14
- name : Check out code
12
15
uses : actions/checkout@v2
13
16
17
+ - uses : chrnorm/deployment-action@releases/v1
18
+ name : Create GitHub deployment
19
+ id : deployment
20
+ with :
21
+ token : " ${{ github.token }}"
22
+ target_url : ${{ env.TARGET_URL }}
23
+ environment : production
24
+
14
25
- name : Setup Ruby
15
26
uses : ruby/setup-ruby@v1
16
27
with :
32
43
GEM_HOST_API_KEY : ${{ secrets.GEM_HOST_API_KEY }}
33
44
run : gem push patch_ruby.gem
34
45
46
+ - name : Update deployment status (success)
47
+ if : success()
48
+ uses : chrnorm/deployment-status@releases/v1
49
+ with :
50
+ token : " ${{ github.token }}"
51
+ target_url : ${{ env.TARGET_URL }}
52
+ state : " success"
53
+ deployment_id : ${{ steps.deployment.outputs.deployment_id }}
54
+
55
+ - name : Update deployment status (failure)
56
+ if : failure()
57
+ uses : chrnorm/deployment-status@releases/v1
58
+ with :
59
+ token : " ${{ github.token }}"
60
+ target_url : ${{ env.TARGET_URL }}
61
+ state : " failure"
62
+ deployment_id : ${{ steps.deployment.outputs.deployment_id }}
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- patch_ruby (1.10.1 )
4
+ patch_ruby (1.10.2 )
5
5
typhoeus (~> 1.0 , >= 1.0.1 )
6
6
7
7
GEM
22
22
ffi (>= 1.15.0 )
23
23
factory_bot (6.2.0 )
24
24
activesupport (>= 5.0.0 )
25
- ffi (1.15.3 )
25
+ ffi (1.15.4 )
26
26
i18n (1.8.10 )
27
27
concurrent-ruby (~> 1.0 )
28
28
jaro_winkler (1.5.4 )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class ApiClient
31
31
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
32
32
def initialize ( config = Configuration . default )
33
33
@config = config
34
- @user_agent = "patch-ruby/1.10.1 "
34
+ @user_agent = "patch-ruby/1.10.2 "
35
35
@default_headers = {
36
36
'Content-Type' => 'application/json' ,
37
37
'User-Agent' => @user_agent
Original file line number Diff line number Diff line change 11
11
=end
12
12
13
13
module Patch
14
- VERSION = '1.10.1 '
14
+ VERSION = '1.10.2 '
15
15
end
You can’t perform that action at this time.
0 commit comments