no netlify

This commit is contained in:
Piyush मिश्रः 2021-02-21 01:08:36 +05:30
parent b924c4abf2
commit a4c5a7b906
2 changed files with 0 additions and 16 deletions

View File

@ -1,12 +0,0 @@
.PHONY: build deploy
help: ## Show this help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
build: ## Build static binary and put it in the functions directory.
@cargo build --release
@mkdir -p functions
@cp target/release/lupt functions
deploy: build ## Deploy the site using Netlify's CLI
@netlify deploy --prod

View File

@ -1,4 +0,0 @@
[build]
command = "make build"
publish = "static"
functions = "functions"