mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
Merge pull request #1141 from alphagov/fix-codedeploy-artifact
Remove old target directory and include any dotfiles in the zip
This commit is contained in:
3
Makefile
3
Makefile
@@ -91,8 +91,9 @@ cf-build: dependencies generate-version-file ## Build project
|
||||
|
||||
.PHONY: build-codedeploy-artifact
|
||||
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
|
||||
rm -rf target
|
||||
mkdir -p target
|
||||
zip -r -x@deploy-exclude.lst target/notifications-admin.zip *
|
||||
zip -y -q -r -x@deploy-exclude.lst target/notifications-admin.zip ./
|
||||
|
||||
.PHONY: upload-codedeploy-artifact ## Upload the deploy artifact for CodeDeploy
|
||||
upload-codedeploy-artifact: check-env-vars
|
||||
|
||||
Reference in New Issue
Block a user