diff --git a/.github/workflows/CI-CD.yml b/.github/workflows/CI-CD.yml index 8602387..ccbc9e5 100644 --- a/.github/workflows/CI-CD.yml +++ b/.github/workflows/CI-CD.yml @@ -131,8 +131,10 @@ jobs: deploy: runs-on: ubuntu-latest needs: [prepare, build-image-push] - if: ${{ needs.prepare.outputs.deploy == true }} + if: always() && ${{ needs.prepare.outputs.deploy == true }} steps: - name: Deploy run: | + echo ${{ needs.prepare.outputs.deploy }} + echo ${{ needs.prepare.outputs.deploy == true }} echo "Deploying the app to ${{ needs.prepare.outputs.environment }} using ${{ github.event.repository.name }}:${{ needs.prepare.outputs.tag_version }} image"