diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index eca41ad..720ac3e 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -9,5 +9,11 @@ pool: steps: - script: | - echo "Running on branch: ${BUILD_SOURCEBRANCH#refs/heads/}" > smoke.txt - displayName: 'Smoke test filesystem access' \ No newline at end of file + echo "Running on branch: ${BUILD_SOURCEBRANCH#refs/heads/}" + displayName: 'Smoke test filesystem access' + +- script: | + cp ~/dbt-ci/.env . + echo "POSTGRES_DATABASE=${BUILD_SOURCEBRANCH#refs/heads/}" >> .env + set -a && source .env && set +a + displayName: 'Load env'