publish to repo on tags only

This commit is contained in:
Eugene Pankov 2021-08-29 18:39:01 +02:00
parent a244362935
commit efe0bad650
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -185,6 +185,7 @@ jobs:
- name: Upload packages to packagecloud.io
uses: TykTechnologies/packagecloud-action@main
if: github.repository == 'Eugeny/tabby' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
with: