From 59c553fbf0b950448d7f146041b8d674f1d93ab1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 22 Oct 2022 19:22:46 +0200 Subject: workflows/jekyll: only deploy on pushes to gh-pages --- .github/workflows/jekyll.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows') diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index a9a6a3d..44430b3 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