fix: CI: unset DATABASE_URL while fetching deps
This commit is contained in:
parent
f021e6fa87
commit
56c1a5373e
1 changed files with 3 additions and 3 deletions
6
Makefile
6
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
|
||||
|
|
Loading…
Reference in a new issue