diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:11:24 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:11:24 +0200 |
commit | 68111b10bca9059c5225f4a94a9ad67f641744f8 (patch) | |
tree | 364a76a10af3e7ab39e9909e323257bb304d6594 | |
parent | bump Ruby version (diff) | |
download | egor-tensin.github.io-68111b10bca9059c5225f4a94a9ad67f641744f8.tar.gz egor-tensin.github.io-68111b10bca9059c5225f4a94a9ad67f641744f8.zip |
workflows/jekyll: only deploy on pushes to master
-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 a9a6a3d..034d41d 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' |