[deploy] One more time to fix commits
All checks were successful
build & deploy / test (push) Successful in 1m56s
build & deploy / build-and-deploy (push) Successful in 31s

This commit is contained in:
2026-05-01 17:22:15 -04:00
parent fc4db68725
commit 41a7255ed8

View File

@ -104,6 +104,15 @@ jobs:
git checkout vrobbler/_commit.py
- name: Copy wheel to server and deploy
uses: appleboy/scp-action@v1.0.0
with:
host: vrobbler.service
username: root
key: ${{ secrets.JAIL_KEY }}
source: "dist/*.whl"
target: "/var/lib/vrobbler"
- name: Install wheel and restart services
uses: appleboy/ssh-action@v1.0.3
with:
host: vrobbler.service
@ -114,7 +123,7 @@ jobs:
mkdir -p /var/lib/vrobbler
echo "${{ gitea.sha }}" > /var/lib/vrobbler/commit.txt
pip uninstall -y vrobbler
pip install git+https://code.lab.unbl.ink/secstate/vrobbler.git@main
pip install /var/lib/vrobbler/dist/*.whl
vrobbler migrate
vrobbler collectstatic --noinput
immortalctl restart celery && immortalctl restart vrobbler