fix: test script
Some checks failed
Deploy Plattform-Core / test (push) Failing after 57s
Deploy Plattform-Core / deploy (push) Has been skipped

This commit is contained in:
Ida 2026-05-20 13:13:39 +02:00
parent 149934b730
commit c01189ec68

View file

@ -20,7 +20,9 @@ jobs:
set -e
cd /srv/gateway/current
git remote set-url origin ssh://git@git.poweron.swiss:2222/PowerOn/plattform-core.git
git pull
git fetch origin main
git checkout -B main origin/main
git checkout HEAD -- env-gateway-prod-forgejo.env
cp env-gateway-prod-forgejo.env .env
rm -f env-*.env
source .venv/bin/activate
@ -45,7 +47,9 @@ jobs:
set -e
cd /srv/gateway/current
git remote set-url origin ssh://git@git.poweron.swiss:2222/PowerOn/plattform-core.git
git pull
git fetch origin main
git checkout -B main origin/main
git checkout HEAD -- env-gateway-prod-forgejo.env
cp env-gateway-prod-forgejo.env .env
rm -f env-*.env
source .venv/bin/activate