Files
hantim-server/.gitea/workflows/deploy-hantim.net.yml
T
timothykim 4f3de1a030
Deploy hantim.net / deploy (push) Failing after 1s
Deploy nginx / deploy (push) Failing after 1s
add hantim.net
2026-03-16 02:19:14 -04:00

19 lines
450 B
YAML

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