diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:16:21 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:26:33 +0200 |
commit | 5e6e0a1a3460143ed18f5bd593571f671a8060a8 (patch) | |
tree | a3700d52183a89595112af4ff84cbd6226473070 /.github/workflows/jekyll.yml | |
parent | bump Ruby version (diff) | |
download | blog-5e6e0a1a3460143ed18f5bd593571f671a8060a8.tar.gz blog-5e6e0a1a3460143ed18f5bd593571f671a8060a8.zip |
workflows/jekyll: only deploy on pushes to gh-pages
Diffstat (limited to '.github/workflows/jekyll.yml')
-rw-r--r-- | .github/workflows/jekyll.yml | 1 |
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' |