docs/1.1/04-Reference/07-CLI-Command-Reference/01-Database-Service/02-prisma-deploy.md
prisma deployDeploys service definition changes. Every time you're making a local change to any file in the service configuration (including the data model), you need to synchronize these changes with the remote service using this command.
Upon the very first deploy of a service, the command will perform initial data seeding if the seed property in prisma.yml is provided. You can prevent this by passing the --no-seed option.
If no cluster property is specifed in prisma.yml, the command will prompt you to interactively select a cluster as a deployment target. After you selected the cluster, it will write it to prisma.yml as the default deployment target for future deploys. To bring up the interactive prompt again, either remove the cluster property manually or pass the --interactice option to the command.
prisma deploy [flags]
-d, --dry-run Perform a dry-run of the deployment
-e, --env-file ENV-FILE Path to .env file to inject env vars
-f, --force Accept data loss caused by schema changes
-i, --interactive Force interactive mode to select the cluster
-j, --json JSON Output
-w, --watch Watch for changes
--no-seed Disable seed on initial service deploy
prisma deploy
prisma deploy --interactive
.env.prod.prisma deploy --env-file .env.prod