diff --git a/.gitattributes b/.gitattributes index e65d44c..0f39ffc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -8,9 +8,14 @@ /build export-ignore /node_modules export-ignore /pages export-ignore +/src export-ignore +/public export-ignore Dockerfile export-ignore Makefile export-ignore README.md export-ignore docker-compose.yml export-ignore package-lock.json export-ignore package.json export-ignore +tsconfig.json export-ignore +.eslintignore export-ignore +.prettierrc export-ignore diff --git a/Makefile b/Makefile index c31cd37..9a51670 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ build: ## Build npm run build git archive --format=zip --output=${ZIP_FILENAME} $(COMMIT) zip -r ${ZIP_FILENAME} dist + cd public && zip -r ../${ZIP_FILENAME} * && cd .. mkdir -p ${BUILD_DIR} && mv ${ZIP_FILENAME} ${BUILD_DIR} .PHONY: pages diff --git a/404.html b/public/404.html similarity index 100% rename from 404.html rename to public/404.html diff --git a/CNAME b/public/CNAME similarity index 100% rename from CNAME rename to public/CNAME diff --git a/favicon.ico b/public/favicon.ico similarity index 100% rename from favicon.ico rename to public/favicon.ico diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html