Created
April 4, 2024 16:30
-
-
Save shey/04acda7f403f0ea40ecf09ecf439399a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: help | |
.DEFAULT_GOAL := help | |
help: ## Displays this help message. | |
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | |
.PHONY: deploy | |
deploy: ## Deploy the app to the 'staging' environment | |
bundle exec cap staging deploy | |
.PHONY: prod-deploy | |
prod-deploy: ## Deploy the app to the 'production' environment | |
BRANCH=main bundle exec cap production deploy | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment