From 5422c095241379c1bc8bc0bc012d9c5079c9a7d1 Mon Sep 17 00:00:00 2001 From: Claire Peng Date: Mon, 24 Aug 2026 01:00:04 +0100 Subject: [PATCH] fix: update deploy-staging to trigger only after successful test runs intead of test completion --- .github/workflows/deploy-staging.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index e708b71558..508a69e0d6 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -14,6 +14,7 @@ env: IMAGE: ${{ secrets.DOCKER_USERNAME }}/p5.js-web-editor-staging jobs: push_to_registry: + if: ${{ github.event.workflow_run.conclusion == 'success' }} environment: staging name: Push Docker image to Docker Hub runs-on: ubuntu-latest