.forgejo/workflows/deploy.yml aktualisiert
All checks were successful
Deploy Plattform-Core / deploy (push) Successful in 11s

This commit is contained in:
i.dittrich 2026-05-18 04:44:26 +00:00
parent a31e0dadc3
commit 26505ba7af

View file

@ -1,10 +1,8 @@
name: Deploy Gateway
name: Deploy Plattform-Core
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
@ -20,11 +18,11 @@ jobs:
echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config
ssh -i ~/.ssh/deploy_key ubuntu@api.poweron.swiss "
cd /srv/gateway/current &&
git remote set-url origin ssh://git@git.poweron.swiss:2222/PowerOn/gateway.git &&
git remote set-url origin ssh://git@git.poweron.swiss:2222/PowerOn/plattform-core.git &&
git pull &&
cp env-gateway-prod-forgejo.env .env &&
rm -f env-*.env &&
source .venv/bin/activate &&
pip install -r requirements.txt --no-cache-dir &&
sudo systemctl restart gateway
"
"