aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:11:49 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-20 21:11:49 +0200
commit55a4419d78eada59ead430ac81ac842eeccd9f8d (patch)
tree9878a8e86d22ff4f20a10f37bc0d5a0d625d5b68 /.github/workflows
parentbump Ruby version (diff)
downloadjekyll-theme-55a4419d78eada59ead430ac81ac842eeccd9f8d.tar.gz
jekyll-theme-55a4419d78eada59ead430ac81ac842eeccd9f8d.zip
workflows/ci: rsync _site/ to server
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 29cb911..01b2920 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.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 }}'