Skip to content
[WIP] Push subdirectories in a monorepo to separate repositories
Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
entrypoint.sh Properly set git config May 13, 2019
license Hello, world May 13, 2019

README.md

Push Subdirectories

GitHub Action to push subdirectories to separate repositories.

Why?

When building Gatsby Themes with a monorepo it's common to need to be able to develop your corresponding starters in the same repo as well. This allows you to automatically push your starters to their own repo so they can be used with gatsby new.

Usage

workflow "Update starters" {
  on = "push"
  resolves = ["johno/actions-push-subdirectories"]
  args = "examples"
}

Related

This code is adapted and modified from Gatsby core.

You can’t perform that action at this time.