From bff1477bc001f36a10530af12ec9414d4541751d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 16 May 2022 22:42:38 +0200 Subject: workflows/jekyll: rsync _site/ to server --- .github/workflows/jekyll.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github') 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 }}' -- cgit v1.2.3