File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -19,41 +19,40 @@ jobs:
19
19
steps :
20
20
- uses : actions/checkout@v1
21
21
- uses : ./
22
+ name : Delete all deployments
22
23
with :
23
24
token : ${{github.token}}
24
25
type : delete-all
25
26
- uses : ./
26
- id : create
27
+ name : Create first deployment
28
+ id : create-first
27
29
with :
28
30
token : ${{github.token}}
29
31
type : create
30
32
- uses : ./
33
+ name : Finish first deployment with success
31
34
with :
32
35
token : ${{github.token}}
33
36
type : finish
34
37
status : success
35
- deployment_id : ${{steps.create.outputs.deployment_id}}
38
+ deployment_id : ${{steps.create-first .outputs.deployment_id}}
36
39
- uses : ./
40
+ name : Delete first deployment
37
41
with :
38
42
token : ${{github.token}}
39
43
type : delete
40
- deployment_id : ${{steps.create.outputs.deployment_id}}
44
+ deployment_id : ${{steps.create-first .outputs.deployment_id}}
41
45
- uses : ./
46
+ name : Create second deployment
47
+ id : create-second
42
48
with :
43
49
token : ${{github.token}}
44
50
type : create
51
+ environment : test
45
52
- uses : ./
53
+ name : Finish second deployment
46
54
with :
47
55
token : ${{github.token}}
48
- type : delete
49
- deployment_id : 248141623
50
- - uses : ./
51
- with :
52
- token : ${{github.token}}
53
- type : delete
54
- deployment_id : 248139855
55
- - uses : ./
56
- with :
57
- token : ${{github.token}}
58
- type : delete
59
- deployment_id : 248137552
56
+ type : finish
57
+ status : success
58
+ deployment_id : ${{steps.create-second.outputs.deployment_id}}
You can’t perform that action at this time.
0 commit comments