Remove dev server info for future deployments

This commit is contained in:
Clinton Collins 2019-06-04 14:46:15 -07:00
Родитель 2136621c7c
Коммит 99fe8a2def
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -1,6 +1,4 @@
BUILD_CONTAINER_NAME ?= idm-docker-staging.packages.idmod.org/sfim-build-env:latest
DEPLOY_SERVER ?= 40.112.165.255
DEPOLY_USERNAME ?= useradmin
.PHONY= get_version build-r-env build-r-package build-api help
@ -41,9 +39,3 @@ build-production: build-r-package get_version ## Builds the api
publish-production: build-production ## Publishes the API
docker-compose -f docker-compose.production.yml push
deploy-api: ## Deploys over ssh to prod server. Requires setup of ssh before hand
# setup should just be ssh-copy-id $(DEPOLY_USERNAME)@$(DEPLOY_SERVER)
export DOCKER_HOST=ssh://$(DEPOLY_USERNAME)@$(DEPLOY_SERVER) && \
docker-compose -f docker-compose.production.yml pull && \
docker-compose -f docker-compose.production.yml up -d