From f37cba6be2b3d2eee56f751a3eb1bdafb3b4d879 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 28 Mar 2026 18:16:40 +0100 Subject: workflows/jekyll: try to green-light builds for PRs --- .github/workflows/jekyll.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index eb26ebe..97576c2 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -24,14 +24,15 @@ jobs: nohup make serve LIVE_RELOAD=0 & sleep 3 && make wget - name: Set up ssh-agent + if: github.ref == 'refs/heads/master' uses: webfactory/ssh-agent@v0.10.0 with: ssh-private-key: '${{ secrets.REMOTE_SSH_KEY }}' - name: Deploy + if: github.ref == 'refs/heads/master' 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.ref == 'refs/heads/master' -- cgit v1.3