deploy_app && run_migration fixes
This commit is contained in:
@@ -22,6 +22,7 @@ steps:
|
||||
commands:
|
||||
- apk add --no-cache bash
|
||||
- chmod +x ./bin/update
|
||||
- until nc -z web 8000; do echo "Waiting for web to be ready..."; sleep 5; done
|
||||
- git branch --set-upstream-to=origin/PMSManager_refactor PMSManager_refactor || true
|
||||
- ./bin/update
|
||||
|
||||
@@ -33,8 +34,11 @@ steps:
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
depends_on:
|
||||
- web
|
||||
commands:
|
||||
- apk add --no-cache bash
|
||||
- until nc -z web 8000; do echo "Waiting for web to be ready..."; sleep 5; done
|
||||
- chmod +x ./bin/cli
|
||||
- ./bin/cli migrate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user