You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is:
x Aborted.
Code: EMPTY_DOTENV_VAULT
Suggestion: Run, npx dotenv-vault@latest new
› Error: Empty .env.vault (DOTENV_VAULT).
It seems like there are two types of .env.vault, one for local build and the other for distribution, they have to be compatible or there's something I am missing.
The use case is quite common, individual developers are working on their own branches, with a branch specific .env.vault that is getting committed to the repo (using pre-commit hook with local build command, only when the PR is approved and is merged to main branch the .env.vault is distributed by being pushed (using push command.
The text was updated successfully, but these errors were encountered:
npx dotenv-vault local build
npx dotenv-vault push
The result is:
x Aborted.
Code: EMPTY_DOTENV_VAULT
Suggestion: Run, npx dotenv-vault@latest new
› Error: Empty .env.vault (DOTENV_VAULT).
It seems like there are two types of .env.vault, one for local build and the other for distribution, they have to be compatible or there's something I am missing.
The use case is quite common, individual developers are working on their own branches, with a branch specific .env.vault that is getting committed to the repo (using pre-commit hook with
local build
command, only when the PR is approved and is merged to main branch the .env.vault is distributed by being pushed (usingpush
command.The text was updated successfully, but these errors were encountered: