add pg check
Some checks failed
ci / build (push) Has been cancelled
ci / Tests & Checks (push) Failing after 44s

This commit is contained in:
CJ_Clippy 2025-02-12 22:42:44 -08:00
parent deb5ef397e
commit e94778e9ed

View File

@ -75,6 +75,13 @@ jobs:
WHITELIST_FEED_URL: https://bright.futureporn.net/torrents
steps:
# - name: wait for postgres
# run: sleep 60
- name: Check postgres reachability
run: ping -c 200 db
- name: postgres service check
run: PGPASSWORD=${{ secrets.DB_PASS }} psql -u ${{ secrets.DB_USER }} -D ${{ secrets.DB_NAME }} -h ${{ secrets.DB_HOST }} "SELECT * FROM vods;"
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3