.env is committed git-crypt encrypted. Without the key the checked out file is the raw encrypted blob, and python-dotenv fails reading it as UTF-8 with "invalid start byte". The migrations job already provides DATABASE_URL, SECRET_KEY and JWT_SECRET_KEY through env:, so removing the file is enough. Previously masked by the job dying earlier on a missing mysql client.
6.5 KiB
6.5 KiB