add pg check
This commit is contained in:
parent
deb5ef397e
commit
e94778e9ed
@ -75,6 +75,13 @@ jobs:
|
|||||||
WHITELIST_FEED_URL: https://bright.futureporn.net/torrents
|
WHITELIST_FEED_URL: https://bright.futureporn.net/torrents
|
||||||
|
|
||||||
steps:
|
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
|
- name: Setup FFmpeg
|
||||||
uses: FedericoCarboni/setup-ffmpeg@v3
|
uses: FedericoCarboni/setup-ffmpeg@v3
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user