|
@@ -31,13 +31,16 @@ steps:
|
|
username: root
|
|
username: root
|
|
ssh_key:
|
|
ssh_key:
|
|
from_secret: ssh_key
|
|
from_secret: ssh_key
|
|
- command_timeout: 3m
|
|
|
|
|
|
+ command_timeout: 2m
|
|
script:
|
|
script:
|
|
- pip uninstall -y vrobbler
|
|
- pip uninstall -y vrobbler
|
|
- pip install git+https://code.unbl.ink/secstate/vrobbler.git@main
|
|
- pip install git+https://code.unbl.ink/secstate/vrobbler.git@main
|
|
- vrobbler migrate
|
|
- vrobbler migrate
|
|
- vrobbler collectstatic --noinput
|
|
- vrobbler collectstatic --noinput
|
|
- immortalctl restart celery && immortalctl restart vrobbler
|
|
- immortalctl restart celery && immortalctl restart vrobbler
|
|
|
|
+ when:
|
|
|
|
+ branch:
|
|
|
|
+ - main
|
|
volumes:
|
|
volumes:
|
|
- name: docker
|
|
- name: docker
|
|
host:
|
|
host:
|