mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-21 15:53:32 +01:00
Update makefile deploy path
This commit is contained in:
parent
11d4fe03ff
commit
5cfcbe5151
4
Makefile
4
Makefile
@ -41,12 +41,12 @@ build-api: ## [ddworken only] Build the API for api.hishtory.dev
|
||||
deploy-static: ## [ddworken only] Build and deploy the server for hishtory.dev
|
||||
deploy-static: build-static
|
||||
ssh server "docker push gcr.io/dworken-k8s/hishtory-static"
|
||||
ssh monoserver "cd ~/infra/ && docker compose pull hishtory-static && docker compose rm -svf hishtory-static && docker compose up -d hishtory-static"
|
||||
ssh monoserver "cd ~/code/infra/ && docker compose pull hishtory-static && docker compose rm -svf hishtory-static && docker compose up -d hishtory-static"
|
||||
|
||||
deploy-api: ## [ddworken only] Build and deploy the API server for api.hishtory.dev
|
||||
deploy-api: build-api
|
||||
docker push gcr.io/dworken-k8s/hishtory-api
|
||||
ssh monoserver "cd ~/infra/ && docker compose pull hishtory-api && docker compose up -d --no-deps hishtory-api"
|
||||
ssh monoserver "cd ~/code/infra/ && docker compose pull hishtory-api && docker compose up -d --no-deps hishtory-api"
|
||||
|
||||
deploy: ## [ddworken only] Build and deploy all backend services
|
||||
deploy: release deploy-static deploy-api
|
||||
|
Loading…
Reference in New Issue
Block a user