From 5e6e0a1a3460143ed18f5bd593571f671a8060a8 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 22 Oct 2022 19:16:21 +0200 Subject: workflows/jekyll: only deploy on pushes to gh-pages --- .github/workflows/jekyll.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index ef12345..d9881ba 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/gh-pages' -- cgit v1.2.3