From 56c1a5373e67c5bdefb98fc56523b91e510b2cf5 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Mon, 19 Dec 2022 09:20:32 +0530 Subject: [PATCH] fix: CI: unset DATABASE_URL while fetching deps --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6c0fc33..42ffb36 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ define cache_bust ## run cache_busting program npm run sass - cd utils/cache-bust && cargo run + unset DATABASE_URL && cd utils/cache-bust && cargo run endef default: ## Debug build @@ -23,7 +23,7 @@ coverage: ## Generate HTML code coverage dev-env: ## Download development dependencies npm install - cargo fetch + unset DATABASE_URL && cargo fetch doc: ## Prepare documentation cargo doc --no-deps --workspace --all-features @@ -45,7 +45,7 @@ lint: ## Lint codebase migrate: ## run migrations $(call cache_bust) - unset DATABASE_URL && cargo build + unset DATABASE_URL && echo ${DATABASE_URL} && cargo build cargo run -- migrate release: ## Release build