From 694efb106cdf8a712c39bc437ec975c27fa4b986 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 9 Mar 2025 10:12:20 -0500 Subject: [PATCH] back to square one --- .gitea/workflows/build.yml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 416cd31..0774014 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,25 +21,8 @@ jobs: hugo-version: 'latest' extended: true - - name: Build Site - run: hugo --minify + - name: Build site + run: hugo --minify --destination /mnt/hugo_output - - name: Test SSH Connection - run: | - mkdir -p ~/.ssh - echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519 - # Add verbose output and show the SSH version - ssh -V - ssh -vvv -o StrictHostKeyChecking=no john@192.168.1.177 'echo "Connection successful"' - - - name: Deploy to Server - uses: appleboy/scp-action@v0.1.7 - with: - host: "192.168.1.177" - username: "john" - key: ${{ secrets.SSH_PRIVATE_KEY }} - source: "public/*" - target: "/home/john/mine/scripts/hugo/" - strip_components: 1 - debug: true \ No newline at end of file + - name: Set correct permissions + run: chown -R john:gpio /mnt/hugo_output