Skip to content

Commit

Permalink
test a failure
Browse files Browse the repository at this point in the history
  • Loading branch information
coilysiren committed Nov 21, 2024
1 parent 785ef1a commit 3ff174d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/cd-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ on:
push:
branches:
- "main"
- "kai/alert-on-deploy-fail"
paths:
- "api/**"
- "Makefile"
release:
types: [published]
workflow_dispatch:
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ release-deploy: ## Deploy release to $APP_NAME's web service in $ENVIRONMENT
metabase-deploy: ## Deploy metabase to $APP_NAME's web service in $ENVIRONMENT
@:$(call check_defined, APP_NAME, the name of subdirectory of /infra that holds the application's infrastructure code)
@:$(call check_defined, ENVIRONMENT, the name of the application environment e.g. "prod" or "dev")
./bin/deploy-metabase.sh $(APP_NAME) $(IMAGE_TAG) $(ENVIRONMENT)
./bin/deploy-metabase.sh $(APP_NAME) $(IMAGE_TAG) $(ENVIRONMENT)

release-image-name: ## Prints the image name of the release image
@:$(call check_defined, APP_NAME, the name of subdirectory of /infra that holds the application's infrastructure code)
Expand All @@ -221,3 +221,7 @@ release-image-tag: ## Prints the image tag of the release image

help: ## Prints the help documentation and info about each command
@grep -E '^[/a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'



# TESTING

0 comments on commit 3ff174d

Please sign in to comment.