summaryrefslogtreecommitdiffstats
path: root/backend/prisma/prisma.yml
diff options
context:
space:
mode:
authorJohannes Schickling <schickling.j@gmail.com>2018-05-21 16:36:32 -0700
committerJohannes Schickling <schickling.j@gmail.com>2018-05-21 16:36:32 -0700
commit603f1a0e9df2f88184cc03ce2e7177547daa0674 (patch)
treef6a934b28cd9c8ac7d80fffea026938787c5407d /backend/prisma/prisma.yml
parent51f593384f1325b78a263d0d870d162236ed28d2 (diff)
use prisma deploy hooks
Diffstat (limited to 'backend/prisma/prisma.yml')
-rw-r--r--backend/prisma/prisma.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/prisma/prisma.yml b/backend/prisma/prisma.yml
new file mode 100644
index 0000000..2940bab
--- /dev/null
+++ b/backend/prisma/prisma.yml
@@ -0,0 +1,6 @@
+datamodel: datamodel.graphql
+endpoint: ${env:PRISMA_ENDPOINT}
+secret: ${env:PRISMA_SECRET}
+hooks:
+ post-deploy:
+ - graphql get-schema -p prisma