File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -99627,18 +99627,7 @@ const ghostVersion = ghostPackageInfo.version;
99627
99627
inputs: {
99628
99628
version: 'ref',
99629
99629
version_extra: `refs/tags/${ghostVersionTagged}`,
99630
- environment: 'production'
99631
- }
99632
- });
99633
- await client.rest.actions.createWorkflowDispatch({
99634
- owner: 'TryGhost',
99635
- repo: 'Ghost-Moya',
99636
- workflow_id: '.github/workflows/deploy-optimised.yml',
99637
- ref: 'assets-build',
99638
- inputs: {
99639
- version: 'ref',
99640
- version_extra: `refs/tags/${ghostVersionTagged}`,
99641
- environment: 'staging'
99630
+ environment: 'both'
99642
99631
}
99643
99632
});
99644
99633
} catch (err) {
Original file line number Diff line number Diff line change @@ -125,18 +125,7 @@ const ghostVersion = ghostPackageInfo.version;
125
125
inputs : {
126
126
version : 'ref' ,
127
127
version_extra : `refs/tags/${ ghostVersionTagged } ` ,
128
- environment : 'production'
129
- }
130
- } ) ;
131
- await client . rest . actions . createWorkflowDispatch ( {
132
- owner : 'TryGhost' ,
133
- repo : 'Ghost-Moya' ,
134
- workflow_id : '.github/workflows/deploy-optimised.yml' ,
135
- ref : 'assets-build' ,
136
- inputs : {
137
- version : 'ref' ,
138
- version_extra : `refs/tags/${ ghostVersionTagged } ` ,
139
- environment : 'staging'
128
+ environment : 'both'
140
129
}
141
130
} ) ;
142
131
} catch ( err ) {
You can’t perform that action at this time.
0 commit comments