Browse Source

Deb: only trigger debian when released

kslr 4 years ago
parent
commit
73e2887f6e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/deb.yml

+ 1 - 0
.github/workflows/deb.yml

@@ -45,6 +45,7 @@ jobs:
           path: ./*.deb
 
       - name: Setup Repository
+        if: github.event_name == 'release'
         run: |
           git clone https://github.com/v2fly/debian.git archive
           echo ${{ secrets.DEBIAN_GPG_PRIVATE }} | base64 -d > private.key