Просмотр исходного кода

Deb: only trigger debian when released

kslr 5 лет назад
Родитель
Сommit
73e2887f6e
1 измененных файлов с 1 добавлено и 0 удалено
  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