aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-22 19:16:21 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-22 19:26:33 +0200
commit5e6e0a1a3460143ed18f5bd593571f671a8060a8 (patch)
treea3700d52183a89595112af4ff84cbd6226473070 /.github
parentbump Ruby version (diff)
downloadblog-5e6e0a1a3460143ed18f5bd593571f671a8060a8.tar.gz
blog-5e6e0a1a3460143ed18f5bd593571f671a8060a8.zip
workflows/jekyll: only deploy on pushes to gh-pages
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/jekyll.yml1
1 files changed, 1 insertions, 0 deletions
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'