Skip to content

Commit 32d8c16

Browse files
ci(github): fix postgresql.conf file in postgres.yml
1 parent 582e1fa commit 32d8c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888

8989
- name: Alter max connections
9090
run: |
91-
POSTGRESQL_CONF=$(sudo find /var/lib/postgresql -name postgresql.conf)
91+
POSTGRESQL_CONF=$(psql -c 'SHOW config_file;')
9292
docker exec -i postgres bash << EOF
9393
sed -i -e 's/max_connections = 100/max_connections = 1000/' $POSTGRESQL_CONF
9494
sed -i -e 's/shared_buffers = 128MB/shared_buffers = 2GB/' $POSTGRESQL_CONF

0 commit comments

Comments
 (0)