From f23892f54d754b05efd19f7cb2acc8b0157c969c Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 23 Mar 2023 17:03:39 +0000 Subject: [PATCH] Fix typo in github actions workflow (#589) --- .github/workflows/build_and_deploy.yaml | 4 ++-- .github/workflows/packages_index.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index ac5ed75..0adc19c 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 bd3ecb4..ec0f091 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: