Füge Fehlerseiten (400, 401, 403, 404, 405, 500, 502, 503) und ein Deployment-Workflow hinzu
Deploy Website / deploy (push) Has been cancelled

This commit is contained in:
Florian Otto
2026-04-27 18:07:07 +02:00
parent 4bf5953734
commit d1d524efeb
9 changed files with 510 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
name: Deploy Website
on:
push:
branches:
- main # Ändere dies in 'master', falls dein Haupt-Branch so heißt
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Trigger Pull on Server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
echo "Deploying nudelrechner.de..."
cd /opt/my-web-apps/nudelrechner.de
git pull origin main
chown -R 33:33 .