.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: on:
push: push:
branches: branches:
- main - main
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -20,7 +18,7 @@ jobs:
echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config echo "UserKnownHostsFile=/dev/null" >> ~/.ssh/config
ssh -i ~/.ssh/deploy_key ubuntu@api.poweron.swiss " ssh -i ~/.ssh/deploy_key ubuntu@api.poweron.swiss "
cd /srv/gateway/current && 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 && git pull &&
cp env-gateway-prod-forgejo.env .env && cp env-gateway-prod-forgejo.env .env &&
rm -f env-*.env && rm -f env-*.env &&