I am aware that we don't commit .env file to GIT since it contains secret password of the application. Now, my question is that how come our code via CICD pipeline for this project repository will run in production without having this .env file? Because in our python file inside the project, we will be referring the secrets from this .env file and since it will not be in GIT, pipeline will fail, isn't it? For example, let's say below is the class which uses dotenv function, but since we will not check in .env file in GIT, won't this fail in CICD pipeline run saying .env file not found?
# settings.py
import os
from dotenv import load_dotenv, find_dotenv
load_dotenv(find_dotenv())
SECRET_KEY = os.environ.get("SECRET_KEY")
DATABASE_PASSWORD = os.environ.get("DATABASE_PASSWORD")