From 8293976f931b9d0fbde5c71d977383b3ce16a662 Mon Sep 17 00:00:00 2001 From: Robbi Bishop-Taylor Date: Wed, 28 Feb 2024 17:07:11 +1100 Subject: [PATCH] Allow ECR sync to happen on a release --- .github/workflows/dea-intertidal-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dea-intertidal-image.yml b/.github/workflows/dea-intertidal-image.yml index be27474..8934bd8 100644 --- a/.github/workflows/dea-intertidal-image.yml +++ b/.github/workflows/dea-intertidal-image.yml @@ -126,8 +126,8 @@ jobs: needs: [test] runs-on: ubuntu-latest - # Only run on a push to the main branch - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + # Only run on a push to the main branch OR a release + if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'release') steps: - name: Checkout code