aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-05-16 22:21:49 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-05-16 22:23:45 +0200
commit0c9b4a2aa17e60f453019bed3ffcc87e459a7c6b (patch)
treeaab09f66b367babc981040a20658934bfe86463c /.github
parentbump Ruby version (diff)
downloadwireguard-config-0c9b4a2aa17e60f453019bed3ffcc87e459a7c6b.tar.gz
wireguard-config-0c9b4a2aa17e60f453019bed3ffcc87e459a7c6b.zip
workflows/jekyll: rsync _site/ to server
Diffstat (limited to '')
-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 }}'