fix: CI: unset DATABASE_URL while fetching deps

This commit is contained in:
Aravinth Manivannan 2022-12-19 09:20:32 +05:30
parent f021e6fa87
commit 56c1a5373e
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 3 additions and 3 deletions

View File

@ -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