Skip to content

Commit

Permalink
add step for disabling testingMode
Browse files Browse the repository at this point in the history
Signed-off-by: Sumu <[email protected]>
  • Loading branch information
sumupitchayan committed Sep 27, 2023
1 parent c74fb63 commit 7ca756b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/k8s-upgrade-automation.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/k8s-automation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ export class K8sVersionUpgradeAutomation extends Component {
name: 'Import the new k8s spec from the prerequisite step',
run: 'yarn run import',
},
{
name: 'Disable publishing if is testingMode is true',
run: 'if [ ${{ github.event.inputs.testingMode }} == true ]; then npx projen disable-publishing',
},
{
name: 'Let projen update the remaining files',
run: 'npx projen build',
Expand Down

0 comments on commit 7ca756b

Please sign in to comment.