fix: CI: unset DATABASE_URL while fetching deps
This commit is contained in:
parent
f021e6fa87
commit
56c1a5373e
6
Makefile
6
Makefile
|
@ -1,6 +1,6 @@
|
||||||
define cache_bust ## run cache_busting program
|
define cache_bust ## run cache_busting program
|
||||||
npm run sass
|
npm run sass
|
||||||
cd utils/cache-bust && cargo run
|
unset DATABASE_URL && cd utils/cache-bust && cargo run
|
||||||
endef
|
endef
|
||||||
|
|
||||||
default: ## Debug build
|
default: ## Debug build
|
||||||
|
@ -23,7 +23,7 @@ coverage: ## Generate HTML code coverage
|
||||||
|
|
||||||
dev-env: ## Download development dependencies
|
dev-env: ## Download development dependencies
|
||||||
npm install
|
npm install
|
||||||
cargo fetch
|
unset DATABASE_URL && cargo fetch
|
||||||
|
|
||||||
doc: ## Prepare documentation
|
doc: ## Prepare documentation
|
||||||
cargo doc --no-deps --workspace --all-features
|
cargo doc --no-deps --workspace --all-features
|
||||||
|
@ -45,7 +45,7 @@ lint: ## Lint codebase
|
||||||
|
|
||||||
migrate: ## run migrations
|
migrate: ## run migrations
|
||||||
$(call cache_bust)
|
$(call cache_bust)
|
||||||
unset DATABASE_URL && cargo build
|
unset DATABASE_URL && echo ${DATABASE_URL} && cargo build
|
||||||
cargo run -- migrate
|
cargo run -- migrate
|
||||||
|
|
||||||
release: ## Release build
|
release: ## Release build
|
||||||
|
|
Loading…
Reference in New Issue