diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index ac5ed756..0adc19cf 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -110,7 +110,7 @@ jobs: - windows_64bit runs-on: ubuntu-latest name: Deploy - if: github.event != 'workflow_dispatch' || (inputs.deploy && (inputs.macos || inputs.windows_32bit || inputs.windows_64bit)) + if: github.event_name != 'workflow_dispatch' || (inputs.deploy && (inputs.macos || inputs.windows_32bit || inputs.windows_64bit)) environment: packages.element.io steps: - name: Download artifacts @@ -134,7 +134,7 @@ jobs: # We queue this after the other deploy stage as we want to abort if that fails - deploy name: Run reprepro - if: github.event != 'workflow_dispatch' || (inputs.deploy && inputs.linux) + if: github.event_name != 'workflow_dispatch' || (inputs.deploy && inputs.linux) uses: ./.github/workflows/reprepro.yaml secrets: inherit with: diff --git a/.github/workflows/packages_index.yaml b/.github/workflows/packages_index.yaml index bd3ecb42..ec0f0913 100644 --- a/.github/workflows/packages_index.yaml +++ b/.github/workflows/packages_index.yaml @@ -18,7 +18,7 @@ on: jobs: deploy: name: "Deploy" - if: github.event != 'workflow_run' || github.event.workflow_run.conclusion == 'success' + if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' runs-on: ubuntu-latest environment: packages.element.io env: