From 58ddf12ea8c2447c7e1b71fa098b2b7c6523d48d Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Tue, 21 May 2024 15:32:40 -0500 Subject: [PATCH] Only redeploy the metadata tester on repo dispatch --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8cfb57fad..9f5a34646 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,6 +25,7 @@ jobs: runs-on: ubuntu-latest outputs: dev-build: ${{ steps.check-version.outputs.dev-build }} + if: github.event_name != 'repository_dispatch' steps: - uses: actions/checkout@v4 - name: Treat as dev build if final piece of version is odd @@ -45,6 +46,7 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + if: github.event_name != 'repository_dispatch' steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -80,7 +82,7 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - if: needs.check-dev-build.outputs.dev-build + if: github.event_name != 'repository_dispatch' && needs.check-dev-build.outputs.dev-build steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -125,7 +127,7 @@ jobs: env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - if: needs.check-dev-build.outputs.dev-build + if: github.event_name != 'repository_dispatch' && needs.check-dev-build.outputs.dev-build steps: - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -164,6 +166,7 @@ jobs: - test-release - smoke-inflator runs-on: ubuntu-latest + if: github.event_name != 'repository_dispatch' steps: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3