Submodule Prompt
I am using submodules to build a documentation repository on Github.
The workflow is like this: I version documentation in feeder repositories that pull into a main repository (built with MK Docs). Then, that deploys onto Netlify.
I would like to create the following automation:
Every time I push changes to a feeder repo, then:
- The main repository is notified
- The main repository pulls in those changes into its 'published' branch
- The main repository builds
Here is an example feeder repo:
https://github.com/danielrosehill/My_Tech_Stack
Here is the documentation root.
https://github.com/danielrosehill/Documetation-Root-Repo
Note:
- The root repo (Documentation-Root-Repo) is a private repository
- The root repo should fetch and push changes onto the 'published' branch
- Whenever changes are pushed to the published branch, MK Docs automatically initiates a build. Hence, the workflow doesn't need to trigger this
Your tasks:
1) Recommend a way to set this up. Consider using only Github or using an automation platform. Choose whichever you think will be easiest to configure.
2) Explain how to configure the desired automation.when to use it
Community prompt sourced from the open-source GitHub repo danielrosehill/LLM-Experiment-Notebook (no explicit license). A "Submodule Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
danielrosehill/LLM-Experiment-Notebook · no explicit license
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar