diff options
| author | Egor Tensin <egor@tensin.name> | 2026-03-28 18:10:25 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-03-28 18:10:25 +0100 |
| commit | a422c1b19c82a32dfc7447372905b6771dba40e0 (patch) | |
| tree | 9d9f2ded3c606667b154e20cab5e2997d6882793 /.github/workflows | |
| parent | dependabot: disable Bundler tracking (diff) | |
| download | blog-a422c1b19c82a32dfc7447372905b6771dba40e0.tar.gz blog-a422c1b19c82a32dfc7447372905b6771dba40e0.zip | |
workflows/jekyll: try to green-light builds for PRs
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/jekyll.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 81aeee3..0542095 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -24,14 +24,15 @@ jobs: nohup make serve LIVE_RELOAD=0 & sleep 5 && make wget - name: Set up ssh-agent + if: github.ref == 'refs/heads/gh-pages' uses: webfactory/ssh-agent@v0.10.0 with: ssh-private-key: '${{ secrets.REMOTE_SSH_KEY }}' - name: Deploy + if: github.ref == 'refs/heads/gh-pages' run: make deploy env: REMOTE_USER: '${{ secrets.REMOTE_USER }}' REMOTE_HOST: '${{ secrets.REMOTE_HOST }}' REMOTE_PORT: '${{ secrets.REMOTE_PORT }}' REMOTE_DIR: '${{ secrets.REMOTE_DIR }}' - if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/gh-pages' |
