Skip to content

Commit

Permalink
!(github.event_name == 'pull_request') &&
Browse files Browse the repository at this point in the history
  • Loading branch information
elysia-best committed Oct 18, 2024
1 parent 0082d22 commit e484794
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 }}
Expand Down

0 comments on commit e484794

Please sign in to comment.