Skip to content

Commit 8083285

Browse files
committed
fix: Pass DB NAME as input var for clean up scripts
1 parent 7b4b9bb commit 8083285

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/cd-base.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
steps:
182182
- uses: actions/checkout@v4
183183

184-
- name: Cleanup SPs and tables
184+
- name: Cleanup test records
185185
run: |
186186
# install postgres client
187187
sudo apt-get update && sudo apt-get install -y postgresql-client
@@ -195,5 +195,6 @@ jobs:
195195
-U ${{ secrets.DB_USER }} \
196196
-d ${{ secrets.DB_NAME }} \
197197
-f "$file" \
198+
-v DB_NAME=${{ secrets.DB_NAME }} \
198199
-v ON_ERROR_STOP=1
199200
done

0 commit comments

Comments
 (0)