From 042f0c806dd7671c1a5e38f8308d4887f2d43ec6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 22 Oct 2022 19:30:04 +0200 Subject: workflows/jekyll: only deploy on pushes to master --- .github/workflows/jekyll.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/jekyll.yml') diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index b23b02a..8ffd76f 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.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