Skip to content

Commit 9c0f40f

Browse files
committed
Remove separate staging and production build triggers
ref ENG-807 ref https://linear.app/tryghost/issue/ENG-807/rollout-new-ghost-moya-github-actions-build-workflow This rolls the trigger back to how it was before testing the new Ghost-Moya build process. Things have been looking good so the be build process is going to be merged into the main build.
1 parent a722008 commit 9c0f40f

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

actions/ghost-release/dist/index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99627,18 +99627,7 @@ const ghostVersion = ghostPackageInfo.version;
9962799627
inputs: {
9962899628
version: 'ref',
9962999629
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'
9964299631
}
9964399632
});
9964499633
} catch (err) {

actions/ghost-release/index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,7 @@ const ghostVersion = ghostPackageInfo.version;
125125
inputs: {
126126
version: 'ref',
127127
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'
140129
}
141130
});
142131
} catch (err) {

0 commit comments

Comments
 (0)