diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 18:59:58 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 18:59:58 +0200 |
commit | fba27b0dde3fc34db47d88730dfc547a21037f3a (patch) | |
tree | 0dc6a48faae63d05da50791364a12725daf56720 /.github/workflows/ci.yml | |
parent | bump Ruby version (diff) | |
download | jekyll-theme-fba27b0dde3fc34db47d88730dfc547a21037f3a.tar.gz jekyll-theme-fba27b0dde3fc34db47d88730dfc547a21037f3a.zip |
workflows/ci: only deploy on pushes to master
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b10b58f..c449580 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.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' |