Created
December 31, 2019 15:22
-
-
Save gemcave/19a6f750119305e025a43ec7b59df3ed to your computer and use it in GitHub Desktop.
Generate prisma.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prisma generate --env-file variables.env | |
--- prisma.yml | |
endpoint: ${env:PRISMA_ENDPOINT} | |
datamodel: datamodel.prisma | |
# secret: ${env:PRISMA_SECRET} | |
hooks: | |
post-deploy: | |
- graphql get-schema -p -prisma | |
generate: | |
- generator: graphql-schema | |
output: ./src/generated/prisma.graphql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment