mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
build: force compose to recreate images
This commit is contained in:
parent
df5d8655f9
commit
3ffc3b9d1d
@ -128,7 +128,7 @@ const deploy = async () => {
|
|||||||
const env = await getEnv();
|
const env = await getEnv();
|
||||||
|
|
||||||
LOG(`${figures.arrowRight} deploy`);
|
LOG(`${figures.arrowRight} deploy`);
|
||||||
return execa('docker-compose', ['up', '-d', '--build'], {
|
return execa('docker-compose', ['up', '-d', '--build', '--force-recreate'], {
|
||||||
stdio: 'inherit',
|
stdio: 'inherit',
|
||||||
env: Object.assign({}, env, {
|
env: Object.assign({}, env, {
|
||||||
COMPOSE_PROJECT_NAME: `${name}-${env.CIRCLE_BRANCH}`
|
COMPOSE_PROJECT_NAME: `${name}-${env.CIRCLE_BRANCH}`
|
||||||
|
Loading…
Reference in New Issue
Block a user