Skip to content

Commit e9cc7ff

Browse files
author
Matthew Fisher
committed
ref(Makefile): stop hardcoding component name
1 parent a9faeab commit e9cc7ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ docker-build: check-docker
2929

3030
deploy: docker-build docker-push
3131
sed 's#\(image:\) .*#\1 $(IMAGE)#' /tmp/deis-$(COMPONENT) | kubectl apply --validate=true -f -
32-
kubectl scale rc deis-workflow --replicas 0 --namespace deis
33-
kubectl scale rc deis-workflow --replicas $(DESIRED_REPLICAS) --namespace deis
32+
kubectl scale rc deis-$(COMPONENT) --replicas 0 --namespace deis
33+
kubectl scale rc deis-$(COMPONENT) --replicas $(DESIRED_REPLICAS) --namespace deis
3434

3535
clean: check-docker
3636
docker rmi $(IMAGE)

0 commit comments

Comments
 (0)