ci: only rebuild odoo service (not frontend)
Some checks failed
Deploy Backend to Staging / Deploy backend to staging (push) Failing after 3s
Some checks failed
Deploy Backend to Staging / Deploy backend to staging (push) Failing after 3s
This commit is contained in:
@@ -16,23 +16,13 @@ jobs:
|
||||
git reset --hard origin/main
|
||||
echo "Deployed: $(git log -1 --oneline)"
|
||||
|
||||
- name: Build Docker images
|
||||
run: |
|
||||
export DOCKER_BUILDKIT=1
|
||||
export BUILDKIT_PROGRESS=plain
|
||||
cd /opt/encoach/encoach_backend_new_v2
|
||||
docker compose \
|
||||
-f docker-compose.yml \
|
||||
-f /opt/encoach/overrides/encoach.override.yml \
|
||||
build --no-cache --progress=plain 2>&1
|
||||
|
||||
- name: Start containers
|
||||
- name: Rebuild Odoo image and restart
|
||||
run: |
|
||||
cd /opt/encoach/encoach_backend_new_v2
|
||||
docker compose \
|
||||
-f docker-compose.yml \
|
||||
-f /opt/encoach/overrides/encoach.override.yml \
|
||||
up -d --remove-orphans
|
||||
up -d --build odoo
|
||||
|
||||
- name: Smoke test
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user