Initial commit

This commit is contained in:
2026-02-10 18:38:13 +00:00
commit a0b21c3292
7 changed files with 130 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
name: Restart Server
on:
schedule:
- cron: '0 4 * * *'
jobs:
restart-server:
runs-on: ubuntu-latest
steps:
- name: Restart container
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.host }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd minecraft-server-example-folder
docker compose restart