From 8884c99b7aea2306b217af2a4e5bcaddad178fd6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 20 May 2022 11:28:24 +0200 Subject: workflows/build: rsync PDF to server --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3217277..f480bdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,3 +29,13 @@ jobs: folder: cv single-commit: true if: github.ref == 'refs/heads/master' + - 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