hardcode names
All checks were successful
Hugo / build (push) Successful in 4m24s

This commit is contained in:
brooke 2025-05-21 21:22:44 -04:00
parent 91601bb236
commit f130b35bd5

View file

@ -16,11 +16,9 @@ jobs:
run: hugo --minify
- name: pre-compress
run: find ./public/* -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' \) -exec gzip -v -k -f --best {} \;
- name: Debug rsync target
run: echo "${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.REMOTE_TARGET }}"
- name: Deploy via rsync
run: |
mkdir -p ~/.ssh
echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
rsync -rlgoDzvc -i --delete -e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" public/ ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.REMOTE_TARGET }}
rsync -rlgoDzvc -i --delete -e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" public/ debian@gallowelding.com:/data/gallowelding.com