Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/scripts/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ module.exports = {
* determine what Freight deploy we can use.
*/
updateChangeType: async ({github, context, fileChanges}) => {
// Note that `fileChanges` bools and ints will get cast to strings
const {frontend, backend} = fileChanges;
const frontendOnly = frontend && !backend;
const backendOnly = backend && !frontend;
const frontendOnly = frontend === 'true' && backend === 'false';
const backendOnly = backend === 'true' && frontend === 'false';

const name = frontendOnly
? 'only frontend changes'
Expand Down