Skip to content

Commit

Permalink
DOP-4401 playing with mut prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 18, 2024
1 parent 9356508 commit 7338eb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-stg-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
branches:
- "main"
- "integration"
- "DOP-4414"
- "DOP-4401"
concurrency:
group: environment-stg-${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 4 additions & 0 deletions src/job/jobHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ export abstract class JobHandler {
const mutPrefix = pathPrefix.split(`/${server_user}`)[0];
this.currJob.payload.mutPrefix = mutPrefix;
}
//add second part of conditional for jobtype check
if (this.currJob.payload.newHead) {
this.currJob.payload.mutPrefix += this.currJob.payload.newHead;
}
}

@throwIfJobInterupted()
Expand Down

0 comments on commit 7338eb3

Please sign in to comment.