This n8n workflow automates the process of adding a file, committing the change, and pushing it to a Git repository triggered by a manual execution. It streamlines code updates directly from n8n, ideal for developers wanting quick version control operations without leaving their workflow environment. The workflow begins with a manual trigger, allowing users to initiate the process with a simple click. Once triggered, the workflow first adds a README.md file to the specified Git repository. It then commits this new file with a custom message, such as ‘✨ First commit from n8n,’ for clear version tracking. Finally, the changes are pushed to the remote repository, ensuring all team members or integrations stay updated with the latest content automatically. This workflow is particularly useful for rapid documentation updates, automated project initialization, or continuous deployment pipelines where quick, manual source control operations are necessary.
Automated Git Commit Triggered by Manual Button
Node Count | 0 – 5 Nodes |
---|---|
Nodes Used | git, manualTrigger |
Reviews
There are no reviews yet.