prepare env vars on ci script
This commit is contained in:
parent
a988542679
commit
c348430dae
1 changed files with 8 additions and 2 deletions
|
|
@ -9,5 +9,11 @@ pool:
|
|||
|
||||
steps:
|
||||
- script: |
|
||||
echo "Running on branch: ${BUILD_SOURCEBRANCH#refs/heads/}" > smoke.txt
|
||||
displayName: 'Smoke test filesystem access'
|
||||
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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue