diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:22:46 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-22 19:27:09 +0200 |
commit | 59c553fbf0b950448d7f146041b8d674f1d93ab1 (patch) | |
tree | 6023037770960d7433475b96d4a5d6b386a0e720 /.github/workflows | |
parent | bump Ruby version (diff) | |
download | sorting-algorithms-59c553fbf0b950448d7f146041b8d674f1d93ab1.tar.gz sorting-algorithms-59c553fbf0b950448d7f146041b8d674f1d93ab1.zip |
workflows/jekyll: only deploy on pushes to gh-pages
Diffstat (limited to '')
-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..44430b3 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' |