This commit is contained in:
parent
bf1a72323e
commit
4767f2b1bf
|
@ -36,7 +36,7 @@ steps:
|
|||
key:
|
||||
from_secret: ssh_key
|
||||
script:
|
||||
- git fetch && git checkout main --force && git pull && make prod
|
||||
- git fetch && git checkout main --force && git pull --force && sudo make prod
|
||||
depends_on:
|
||||
- test
|
||||
trigger:
|
||||
|
|
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ SHELL: /bin/bash
|
|||
|
||||
phony: dev
|
||||
dev:
|
||||
@docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d
|
||||
@docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
|
||||
|
||||
phony: prod
|
||||
prod:
|
||||
@docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
||||
@docker compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
|
||||
|
|
Loading…
Reference in a new issue