aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/jekyll.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:19:55 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:19:55 +0200
commitf1993b756b81584ed95bc3f8bd80d143fcb250cb (patch)
tree9ffae7f917fedef75fb38a2c233c86d81d37808b /.github/workflows/jekyll.yml
parentbump Ruby version (diff)
downloadsorting-algorithms-f1993b756b81584ed95bc3f8bd80d143fcb250cb.tar.gz
sorting-algorithms-f1993b756b81584ed95bc3f8bd80d143fcb250cb.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 b6be8fa..f74a22b 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -26,3 +26,13 @@ jobs:
run: |
nohup make serve &
sleep 3 && 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 }}'