fix: build & deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
pwgen2155 2024-03-21 20:41:43 +11:00
parent bf1a72323e
commit 4767f2b1bf
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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