This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nutellarechner.de/.gitea/workflows/deploy.yaml
T
2026-04-27 18:06:41 +02:00

21 lines
588 B
YAML

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 nutellarechner.de..."
cd /opt/my-web-apps/nutellarechner.de
git pull origin main
chown -R 33:33 .