data-dwh-dbt-project/.azure-pipelines.yml
2025-03-18 17:23:57 +01:00

19 lines
423 B
YAML

trigger:
- master # Runs on each commit to master
pr:
- master # Runs on PRs targeting master
pool:
name: ci-pool-prd
steps:
- script: |
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'