From 39283f63b6e887cdc4f39272a01861ed28e376a6 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Tue, 9 May 2023 15:42:43 +0300 Subject: [PATCH] ttf --- .gitea/workflows/deploy.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 82e246c..d5bd9ec 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -22,5 +22,15 @@ jobs: hugo-version: "0.110.0" extended: true - - name: Deploy website - run: ./deploy + - name: Build website + run: hugo --minify + + - name: Deploy to Server + uses: https://github.com/easingthemes/ssh-deploy@main + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} + ARGS: "-rlgoDzvc -i --delete" + SOURCE: "public/" + REMOTE_HOST: digitalstudium.com + REMOTE_USER: root + TARGET: /srv/digitalstudium.com