mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
fix ci
This commit is contained in:
parent
b550da5796
commit
25ee4761fa
@ -11,7 +11,7 @@ install:
|
|||||||
- pip install -r deploy/requirements.txt
|
- pip install -r deploy/requirements.txt
|
||||||
- cp oj/custom_settings.example.py oj/custom_settings.py
|
- cp oj/custom_settings.example.py oj/custom_settings.py
|
||||||
- echo "SECRET_KEY=\"`cat /dev/urandom | head -1 | md5sum | head -c 32`\"" >> oj/custom_settings.py
|
- echo "SECRET_KEY=\"`cat /dev/urandom | head -1 | md5sum | head -c 32`\"" >> oj/custom_settings.py
|
||||||
- python manage.py migrate
|
- sleep 10 && python manage.py migrate
|
||||||
script:
|
script:
|
||||||
- docker ps -a
|
- docker ps -a
|
||||||
- flake8 .
|
- flake8 .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user