---
title: "Discussion on \"Deploying Prisma Migrations via Github Actions\" | Hashnode"
description: "Discussion on \"Deploying Prisma Migrations via Github Actions\". Do you use Prisma? Do you want to engage in proper practices? Well here's a post for you! In this post, we will discuss how to automatically deploy Prisma migrations with Github Actions.  \nWhy would this be necessary?\nGenerally speaking, it's not a g..."
url: "https://hashnode.com/posts/deploying-prisma-migrations-via-github-actions/6227f07833120280724e802a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Deploying Prisma Migrations via Github Actions](https://blog.henrikvt.com/deploying-prisma-migrations-via-github-actions?utm_source=hashnode&utm_medium=feed)

Do you use Prisma? Do you want to engage in proper practices? Well here's a post for you! In this post, we will discuss how to automatically deploy Prisma migrations with Github Actions. Why would this be necessary? Generally speaking, it's not a g...

Mar 9, 2022 · 3 min read · blog.henrikvt.com  
Updated Jan 18, 2023  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#github-actions-1](https://hashnode.com/tag/github-actions-1)
-   [#orm](https://hashnode.com/tag/orm)
-   [#sql](https://hashnode.com/tag/sql)

## Written by

[Henrik VT](https://hashnode.com/@henrik)

@henrik

  
[View profile](https://hashnode.com/@henrik)

full stack newbie

## Responses 1

Markdown supported · ⌘↵ to post

[Jason Glover](https://hashnode.com/@PhoenixKiwi)

[Mar 18, 2023](https://hashnode.com/posts/deploying-prisma-migrations-via-github-actions/6227f07833120280724e802a/comment/64161fd9bc961bc7aa59917c)

Handy article Hendrik. Can you help me understand this a bit deeper.

I'm curious why the double install?

-   name: Install run: yarn install
-   name: Rerun Install run: yarn install

And I don't think you explain this explicitly, but whats the thinking behind the generate and migrate jobs, when the migrate job contains the same steps as the generate.

[Henrik VT](https://hashnode.com/@henrik)

[Apr 17, 2023](https://hashnode.com/posts/deploying-prisma-migrations-via-github-actions/6227f07833120280724e802a/comment/64161fd9bc961bc7aa59917c#reply-643d4527da81bbd26819a119)

Thanks for the comment! I'll be honest, I can't think of the reason off the top of my head. It's very possible this was a mistake I didn't catch.
