add hantim.net
Deploy hantim.net / deploy (push) Failing after 2s
Deploy nginx / deploy (push) Failing after 2s

This commit is contained in:
2026-03-16 02:09:10 -04:00
parent 9a950524eb
commit b69b4b6dc5
3 changed files with 77 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Deploy hantim.net
on:
push:
branches: [main]
paths:
- 'docker/hantim.net/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/deploy_key deploy@${{ vars.DEPLOY_HOST }} deploy-hantim.net