Skip to content

Commit

Permalink
Adjust CLEAN_BUILDS
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Oct 12, 2023
1 parent 2e56f50 commit 2906a51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ jobs:
IMAGE_REPO: ${{ steps.dotenv.outputs.IMAGE_REPO }}
IMAGE_TAG: ${{ env.BASE_IMAGE_TAG }}
SOURCE_REPOSITORY_URL: ${{ env.SOURCE_REPOSITORY_URL }}
CLEAN_BUILDS: ${{ needs.checkEnv.outputs.CLEAN_BUILDS }}

# Build the Cron image
- name: "🚧 Build ${{ steps.dotenv.outputs.CRON_DEPLOYMENT_NAME }}:${{ env.BRANCH }} (SKIP? ${{ env.SKIP_BUILDS }})"
Expand Down Expand Up @@ -170,10 +169,10 @@ jobs:
BRANCH: ${{ env.BRANCH }}

call-cleanup-workflow:
name: 🧹️ Clean Build ( ${{ needs.checkEnv.CLEAN_BUILDS }} )
name: 🧹️ Clean Build ( ${{ env.CLEAN_BUILDS }} )
uses: ./.github/workflows/cleanup.yml
needs: [checkEnv, build-images]
if: success() && ${{ needs.checkEnv.CLEAN_BUILDS != 'FALSE' }}
if: success() && ${{ needs.checkEnv.CLEAN_BUILDS == 'YES' }}
secrets: inherit
with:
APP: ${{ needs.build-images.outputs.APP }}
Expand Down

0 comments on commit 2906a51

Please sign in to comment.