Skip to content

Commit

Permalink
#119 - Students search (#123)
Browse files Browse the repository at this point in the history
- add init-unaccent.sql
  • Loading branch information
Blusia authored Aug 20, 2024
1 parent a2dec55 commit 0950781
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-beta-by-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
username: ${{ secrets.VPS_OVH_BF7EC892_USERNAME }}
key: ${{ secrets.VPS_OVH_BF7EC892_SSH_PRIVATE_KEY }}
passphrase: ${{ secrets.VPS_OVH_BF7EC892_SSH_PRIVATE_KEY_PASSPHRASE }}
source: "./environment/prod/deployment/beta/*,./environment/prod/deployment/scripts/*"
source: "./environment/prod/deployment/beta/*,./environment/prod/deployment/scripts/*,./environment/prod/deployment/postgres/*"
target: ${{ secrets.KEATING_VPS_BETA_APP_PATH }}
rm: true

Expand Down
1 change: 1 addition & 0 deletions environment/prod/deployment/beta/docker-compose.beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ services:
timeout: 3s
retries: 5
volumes:
- ./environment/prod/deployment/postgres/init-unaccent.sql:/docker-entrypoint-initdb.d/init-unaccent.sql
- keating-beta-pgsql-data:/var/lib/postgresql/data
networks:
- keating-beta
Expand Down
2 changes: 2 additions & 0 deletions environment/prod/deployment/postgres/init-unaccent.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Enable the unaccent extension
CREATE EXTENSION IF NOT EXISTS unaccent;

0 comments on commit 0950781

Please sign in to comment.