siyfion
11/13/2018, 2:16 PMprisma generate and it not doing _anything_… no generated files, no errors, nothing.nikolasburk
siyfion
11/13/2018, 2:19 PMendpoint: "${env:PRISMA_ENDPOINT}"
datamodel: datamodel.graphql
# The `secret` must be used to generate a JWT which is attached
# to the `Authorization` header of HTTP requests made against the Prisma API.
# Info: <https://www.prisma.io/docs/reference/prisma-api/concepts-utee3eiquo#authentication>
secret: ${env:PRISMA_SECRET}
# Seed database with test data
seed:
run: yarn ts-node ./database/seed.ts
hooks:
post-deploy:
- graphql get-schema --project database
- graphql codegennikolasburk
prisma generate gets its information what to generate (i.e. which prorgramming language) and where the generated files should be located from your `prisma.yml`'s generate propertynikolasburk
siyfion
11/13/2018, 2:20 PMpost-deploy hook also didn’t seem to want to work either…siyfion
11/13/2018, 2:21 PMnikolasburk
graphql get-schema as you do in your post-deploy hook: https://github.com/graphql-cli/graphql-cli/issues/354siyfion
11/13/2018, 2:22 PMsiyfion
11/13/2018, 2:23 PMsiyfion
11/13/2018, 2:24 PMnikolasburk
nikolasburk