From e48479404e8df07ff5e19399305a6e9ab64730a5 Mon Sep 17 00:00:00 2001 From: Elysia Date: Sat, 19 Oct 2024 00:56:24 +0800 Subject: [PATCH] !(github.event_name == 'pull_request') && --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76b3f33..280f190 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,14 +64,14 @@ jobs: compression-level: 9 # maximum compression - name: Prepare envs - if: ${{ !github.event.issue.pull_request && matrix.devbuild == 'enabled' }} + if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }} run: | sudo apt update && sudo apt install reprepro gnupg echo "${{ secrets.GPG_SIGN_KEY }}" >> key.key gpg --import key.key - name: Clone & Update repo - if: ${{ !github.event.issue.pull_request && matrix.devbuild == 'enabled' }} + if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }} run: | git clone https://github.com/LingmoOS/lingmo-nightly-build.git pkg_site DEB_FILE_DIR="$(pwd)/BuildArtifacts" @@ -90,7 +90,7 @@ jobs: cd .. - name: Push changes - if: ${{ !github.event.issue.pull_request && matrix.devbuild == 'enabled' }} + if: ${{ !(github.event_name == 'pull_request') && matrix.devbuild == 'enabled' }} uses: ad-m/github-push-action@9870d48124da805820c70ebc6ba563c715551019 with: github_token: ${{ secrets.API_GITHUB_TOKEN }}