From 75452dd343d836f82d4d8e825c207ed4374ecfd0 Mon Sep 17 00:00:00 2001 From: Alex Prizov Date: Sat, 10 Apr 2021 18:06:23 +0300 Subject: [PATCH] # This is a combination of 2 commits. # This is the 1st commit message: #7 Disable image build and push on PR # This is the commit message #2: Disable image build and push on PR --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9b441f..47eb292 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,6 +46,7 @@ jobs: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: build and deploy image + if: ${{ github.ref == 'refs/heads/master' || startwith(github.ref, 'refs/tags/') }} env: GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }} run: |