0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

main→developに伴うCI/CDの設定の見直し

Last updated at Posted at 2025-12-30

はじめに

前回、開発途中でデフォルトブランチをmainからdevelopに変更したので、その際に変更したCI/CDの設定、Webhookの設定について備忘を残したいと思います。

VercelとMicroCMSの設定見直し

デフォルトブランチ変更に伴う設定変更

  • Vercelのダッシュボードにログイン
  • 「Settings」 > 「Git」 > 「Deploy Hooks」へ移動
  • 「Create Hook」ボタンを押して、新しいDeploy Hookを作成
  • ブランチを develop に指定し(今変更したなら)、名前を付ける
  • MicroCMSの管理画面の「Deploy Hooks」ページに戻る
  • URLに先ほどVercelで作ったDeploy HookのURLを貼り付けて更新する
  • Productionの監視ブランチをdevelopに変更
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?