From b9f2fcb4ecc5398c3f4a5569a64e2ae256037a13 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 16 May 2022 22:03:03 +0200 Subject: move deploy command to Makefile --- .github/workflows/jekyll.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 3094f4a..bcc4dd8 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -34,5 +34,8 @@ jobs: with: ssh-private-key: '${{ secrets.REMOTE_SSH_KEY }}' - name: Deploy - run: | - rsync -avh -e 'ssh -o StrictHostKeyChecking=no' _site/ '${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.REMOTE_DIR }}/' --delete + run: make deploy + env: + REMOTE_USER: '${{ secrets.REMOTE_USER }}' + REMOTE_HOST: '${{ secrets.REMOTE_HOST }}' + REMOTE_DIR: '${{ secrets.REMOTE_DIR }}' -- cgit v1.2.3