repo_full_name = $(shell git remote -v | grep origin | grep push | grep -o '[^:/]\+\/[^/]\+\s\+' | grep -o '[^:]\+\/[^. ]\+'| tr '[:upper:]' '[:lower:]') git_sha = $(shell git rev-parse --short HEAD) environment = development default: preview serve: docker-build docker-compose run unlimited.pizza serve --host 0.0.0.0 --config _config.yml,_config.$(environment).yml build: docker-build docker-compose run unlimited.pizza build --config _config.yml,_config.$(environment).yml update-dependencies: docker-compose run --entrypoint=bundle unlimited.pizza config --global frozen 0; bundle update docker-build: docker-compose build upload: build docker-compose run --entrypoint=/bin/sh unlimited.pizza ./scripts/upload.sh