pipeline change branch defore pulling
This commit is contained in:
@@ -18,6 +18,7 @@ steps:
|
|||||||
MYSQL_PASSWORD: touchh
|
MYSQL_PASSWORD: touchh
|
||||||
commands:
|
commands:
|
||||||
- chmod +x ./bin/update
|
- chmod +x ./bin/update
|
||||||
|
- git branch --set-upstream-to=origin/main PMSManager_refactor || true
|
||||||
- ./bin/update
|
- ./bin/update
|
||||||
|
|
||||||
# Шаг 3: Миграция базы данных
|
# Шаг 3: Миграция базы данных
|
||||||
@@ -58,7 +59,7 @@ services:
|
|||||||
MYSQL_PASSWORD: touchh
|
MYSQL_PASSWORD: touchh
|
||||||
command: ['python3', 'manage.py', 'runserver', '0.0.0.0:8000']
|
command: ['python3', 'manage.py', 'runserver', '0.0.0.0:8000']
|
||||||
ports:
|
ports:
|
||||||
- port: 8000
|
- "8000:8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user