Skip to content

Trigger all your deploys from different repos on single pull request into `main` branch

Notifications You must be signed in to change notification settings

nik-kita/one-pr-many-deploys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1 explicit PR => many implicit deploys

(should be actual for monorepos with multiple microservices)

This example is use deno-deploy:

  • work on dev or feature/* etc. branch
  • make pull-request into main branch
  • all deploys will be triggered automatically:

Applications deployed from this repo after PR into main:

Tips/notes/logs...

  • Prepare repository with personal github token
  • Add it into repository's secrets
  • Declare branches that will associated with deploys (1 branch - 1 deno-deploy target)
  • Configure workflow to trigger on their push, pull requests etc.
  • Add conditional logic to filter only own workflow and skip other
  • // to be continued... (maybe)

How will looked your actions after pr into main branch only

github actions, screen-example

About

Trigger all your deploys from different repos on single pull request into `main` branch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published