aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/jekyll.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/jekyll.yml7
1 files changed, 5 insertions, 2 deletions
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 }}'