mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
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
|
.PHONY: build-codedeploy-artifact
|
||||||
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
|
build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
|
||||||
|
rm -rf target
|
||||||
mkdir -p 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
|
.PHONY: upload-codedeploy-artifact ## Upload the deploy artifact for CodeDeploy
|
||||||
upload-codedeploy-artifact: check-env-vars
|
upload-codedeploy-artifact: check-env-vars
|
||||||
|
|||||||
Reference in New Issue
Block a user