deploy workflow

This commit is contained in:
Milo
2026-03-11 17:08:16 +01:00
parent ee231b517e
commit ef6022ae35

18
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Deploy to Hetzner
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.SERVER_IP }}
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: ~/deploy.sh