back to square one
Some checks failed
Build Hugo Site / build (push) Failing after 1s

This commit is contained in:
John 2025-03-09 10:12:20 -05:00
parent 7b80b395f2
commit 694efb106c

View File

@ -21,25 +21,8 @@ jobs:
hugo-version: 'latest' hugo-version: 'latest'
extended: true extended: true
- name: Build Site - name: Build site
run: hugo --minify run: hugo --minify --destination /mnt/hugo_output
- name: Test SSH Connection - name: Set correct permissions
run: | run: chown -R john:gpio /mnt/hugo_output
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