From 08ac35c8e5a30e17f78a6f34e26f1000cfdf47d4 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Tue, 9 May 2023 15:45:05 +0300 Subject: [PATCH] ttf --- .gitea/workflows/deploy.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index d5bd9ec..0079874 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -10,22 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - - name: Fetch repo - uses: actions/checkout@v3 - with: - submodules: true # Fetch Hugo themes (true OR recursive) - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + # - name: Fetch repo + # uses: actions/checkout@v3 + # with: + # submodules: true # Fetch Hugo themes (true OR recursive) + # fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - - name: Setup Hugo + - name: Build uses: https://github.com/peaceiris/actions-hugo@v2.6.0 with: hugo-version: "0.110.0" extended: true - - - name: Build website run: hugo --minify - - name: Deploy to Server + - name: Deploy uses: https://github.com/easingthemes/ssh-deploy@main env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} @@ -33,4 +31,4 @@ jobs: SOURCE: "public/" REMOTE_HOST: digitalstudium.com REMOTE_USER: root - TARGET: /srv/digitalstudium.com + TARGET: /srv/digitalstudium.com \ No newline at end of file