aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/jekyll.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-16 22:42:38 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-16 22:42:38 +0200
commitbff1477bc001f36a10530af12ec9414d4541751d (patch)
tree34189fcb71c086f94d16fb4f182d69555d155d06 /.github/workflows/jekyll.yml
parentbump Ruby version (diff)
downloadblog-bff1477bc001f36a10530af12ec9414d4541751d.tar.gz
blog-bff1477bc001f36a10530af12ec9414d4541751d.zip
workflows/jekyll: rsync _site/ to server
Diffstat (limited to '.github/workflows/jekyll.yml')
-rw-r--r--.github/workflows/jekyll.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index 4d41b8d..07da697 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -26,3 +26,13 @@ jobs:
run: |
nohup make serve &
sleep 5 && make wget
+ - name: Set up ssh-agent
+ uses: webfactory/ssh-agent@v0.5.3
+ with:
+ ssh-private-key: '${{ secrets.REMOTE_SSH_KEY }}'
+ - name: Deploy
+ run: make deploy
+ env:
+ REMOTE_USER: '${{ secrets.REMOTE_USER }}'
+ REMOTE_HOST: '${{ secrets.REMOTE_HOST }}'
+ REMOTE_DIR: '${{ secrets.REMOTE_DIR }}'