There was an error while loading. Please reload this page.
1 parent 5da7f58 commit 0c8811bCopy full SHA for 0c8811b
1 file changed
.github/workflows/deploy.yml
@@ -96,6 +96,8 @@ jobs:
96
psql -p 10563 -U dspace -d postgres -c \"SELECT pg_terminate_backend(pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = 'dspace' AND pid <> pg_backend_pid();\" &&
97
dropdb -U dspace -p 10563 dspace &&
98
createdb -U dspace -p 10563 --owner=dspace --encoding=UNICODE dspace &&
99
+ psql -p 10563 -U dspace -d postgres -c \"CREATE ROLE IF NOT EXISTS postgres SUPERUSER;\" &&
100
+ psql -p 10563 -U dspace -d postgres -c \"CREATE ROLE IF NOT EXISTS dspace5 IN ROLE dspace;\" &&
101
psql -p 10563 -U dspace -d dspace -f /tmp/$FNAME &&
102
psql -p 10563 -U dspace -d dspace -c 'CREATE EXTENSION IF NOT EXISTS pgcrypto;' &&
103
rm /tmp/$FNAME
0 commit comments