diff --git a/.woodpecker.yml b/.woodpecker.yml index f81623a..3ce374e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,7 @@ pipeline: backend: image: rust environment: - - DATABASE_URL=postgres://postgres:password@database:5432/postgres + - DATABASE_URL="postgres://postgres:password@database:5432/postgres" commands: - curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&\ - apt update && apt-get -y --no-install-recommends install nodejs diff --git a/Makefile b/Makefile index 14e715d..5abaa87 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ lint: ## Lint codebase migrate: ## run migrations $(call cache_bust) unset DATABASE_URL && echo ${DATABASE_URL} && cargo build - cargo run -- migrate + DATABASE_URL=${DATABASE_URL} cargo run -- migrate release: ## Release build $(call cache_bust)