{"id":20571367,"url":"https://github.com/fluent-ci-templates/prisma-pipeline","last_synced_at":"2026-04-21T14:03:42.794Z","repository":{"id":192456312,"uuid":"685934626","full_name":"fluent-ci-templates/prisma-pipeline","owner":"fluent-ci-templates","description":"A ready-to-use CI/CD Pipeline for managing your database migrations with Prisma Migrate ","archived":false,"fork":false,"pushed_at":"2024-06-18T20:19:45.000Z","size":180,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T21:14:16.480Z","etag":null,"topics":["cicd","deno","devops","pipeline","prisma","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-ci-templates.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-01T10:55:40.000Z","updated_at":"2024-06-18T20:19:48.000Z","dependencies_parsed_at":"2023-12-01T18:38:44.914Z","dependency_job_id":"e73fed39-d8f7-40c1-aaf6-1e8a7049faa0","html_url":"https://github.com/fluent-ci-templates/prisma-pipeline","commit_stats":null,"previous_names":["fluent-ci-templates/prisma-pipeline"],"tags_count":12,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fprisma-pipeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fprisma-pipeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fprisma-pipeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-ci-templates%2Fprisma-pipeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-ci-templates","download_url":"https://codeload.github.com/fluent-ci-templates/prisma-pipeline/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242187633,"owners_count":20086217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cicd","deno","devops","pipeline","prisma","typescript"],"created_at":"2024-11-16T05:16:04.378Z","updated_at":"2026-04-21T14:03:42.753Z","avatar_url":"https://github.com/fluent-ci-templates.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Prisma Pipeline\n\n[![fluentci pipeline](https://shield.fluentci.io/x/prisma_pipeline)](https://pkg.fluentci.io/prisma_pipeline)\n![deno compatibility](https://shield.deno.dev/deno/^1.42)\n[![dagger-min-version](https://shield.fluentci.io/dagger/v0.11.7)](https://dagger.io)\n[![](https://img.shields.io/codecov/c/gh/fluent-ci-templates/prisma-pipeline)](https://codecov.io/gh/fluent-ci-templates/prisma-pipeline)\n\nA ready-to-use CI/CD Pipeline for managing your database migrations with [Prisma Migrate](https://www.prisma.io/docs/guides/migrate)\n\n## 🚀 Usage\n\nRun the following command in your project:\n\n```bash\nfluentci run prisma_pipeline\n```\n\nOr, if you want to use it as a template:\n\n```bash\nfluentci init -t prisma\n```\n\nThis will create a `.fluentci` folder in your project.\n\nNow you can run the pipeline with:\n\n```bash\nfluentci run .\n```\n\n## Dagger Module\n\nUse as a [Dagger](https://dagger.io) Module:\n\n```bash\ndagger mod install github.com/fluent-ci-templates/prisma-pipeline@mod\n```\n\n## Environment variables\n\n| Variable         | Description                    |\n| ---------------- | ------------------------------ |\n| DATABASE_URL     | The database connection string |\n\n## Jobs\n\n| Job       | Description               |\n| --------- | ------------------------- |\n| validate  | Validate prisma schema    |\n| deploy    | Deploy all migrations     |\n| push      | Apply schema changes      |\n\n```typescript\nvalidate(\n  src: string | Directory,\n  databaseUrl: string | Secret\n): Promise\u003cstring\u003e\n\ndeploy(\n  src: string | Directory,\n  databaseUrl: string | Secret\n): Promise\u003cstring\u003e\n\npush(\n  src: string | Directory,\n  databaseUrl: string | Secret\n): Promise\u003cstring\u003e\n```\n\n## Programmatic usage\n\nYou can also use this pipeline programmatically:\n\n```ts\nimport { deploy } from \"jsr:@fluentci/prisma\";\n\nawait deploy(\".\", Deno.env.get(\"DATABASE_URL\")!);\n```\n\nOr:\n\n```ts\nimport { validate, push } from \"jsr:@fluentci/prisma\";\n\n// validate prisma schema and apply schema changes\nawait validate(\".\", Deno.env.get(\"DATABASE_URL\")!);\nawait push(\".\", Deno.env.get(\"DATABASE_URL\")!);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fprisma-pipeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-ci-templates%2Fprisma-pipeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-ci-templates%2Fprisma-pipeline/lists"}