From 86da0e758faaf46a8025660a815a673ebafa1933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Thu, 25 Apr 2024 10:47:10 +0200 Subject: [PATCH] Remove useless condition Neither `env.DEPLOY` nor `env.DEPLOY_ALT` should be present in this job. --- .github/workflows/ci.yml | 1 - src/ci/github-actions/ci.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 477f521d3b4..32bfc7170b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -180,7 +180,6 @@ jobs: - name: publish toolstate run: src/ci/publish_toolstate.sh shell: bash - if: "success() && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')" env: TOOLSTATE_REPO_ACCESS_TOKEN: "${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}" name: bors build finished diff --git a/src/ci/github-actions/ci.yml b/src/ci/github-actions/ci.yml index e2796994851..0439b053fda 100644 --- a/src/ci/github-actions/ci.yml +++ b/src/ci/github-actions/ci.yml @@ -288,7 +288,6 @@ jobs: - name: publish toolstate run: src/ci/publish_toolstate.sh shell: bash - if: success() && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1') env: TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}