From fba27b0dde3fc34db47d88730dfc547a21037f3a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 22 Oct 2022 18:59:58 +0200 Subject: workflows/ci: only deploy on pushes to master --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b10b58f..c449580 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,3 +37,4 @@ jobs: REMOTE_HOST: '${{ secrets.REMOTE_HOST }}' REMOTE_PORT: '${{ secrets.REMOTE_PORT }}' REMOTE_DIR: '${{ secrets.REMOTE_DIR }}' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' -- cgit v1.2.3