aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-10-22 18:59:58 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-10-22 18:59:58 +0200
commitfba27b0dde3fc34db47d88730dfc547a21037f3a (patch)
tree0dc6a48faae63d05da50791364a12725daf56720 /.github/workflows/ci.yml
parentbump Ruby version (diff)
downloadjekyll-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.yml1
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'