ci: use docker compose up -d odoo (no rebuild, conf from override)
Some checks failed
Deploy Backend to Staging / Deploy backend to staging (push) Failing after 1s
Some checks failed
Deploy Backend to Staging / Deploy backend to staging (push) Failing after 1s
This commit is contained in:
@@ -16,9 +16,13 @@ jobs:
|
|||||||
git reset --hard origin/main
|
git reset --hard origin/main
|
||||||
echo "Deployed: $(git log -1 --oneline)"
|
echo "Deployed: $(git log -1 --oneline)"
|
||||||
|
|
||||||
- name: Restart Odoo (pick up new module code via volume mount)
|
- name: Restart Odoo with updated config
|
||||||
run: |
|
run: |
|
||||||
docker restart encoach-v4-odoo
|
cd /opt/encoach/encoach_backend_new_v2
|
||||||
|
docker compose \
|
||||||
|
-f docker-compose.yml \
|
||||||
|
-f /opt/encoach/overrides/encoach.override.yml \
|
||||||
|
up -d odoo
|
||||||
|
|
||||||
- name: Smoke test
|
- name: Smoke test
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user