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