Developer & DevOps
Push multiple files to GitHub repository via API
10 nodes
185
101
Automatic trigger
Workflow Description
Automate pushing multiple files to your GitHub repository simultaneously using GitHub API, eliminating manual uploads and accelerating your development workflow with reliable batch operations.
How it works
- 1.Trigger automation manually or via scheduled schedule
- 2.Configure file data and repository details in variables
- 3.Send HTTP request to GitHub API to create a new commit
- 4.Update repository branch with uploaded files
Use cases
- Automatically back up database exports to GitHub repositories
- Deploy reports and CSV files to project repositories on a schedule
Requirements
- GitHub Personal Access Token with repository write permissions
- Basic understanding of REST API request structure
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
HTTP Request
Manual Trigger
Set
Note
Details
Trigger
Automatic trigger
Nodes
10
Apps
4
Views
185
Downloads
101
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (10)
Get latest commit SHA
HTTP Request
Get base tree SHA
HTTP Request
Create new tree
HTTP Request
Create commit
HTTP Request
Update branch
HTTP Request
When clicking ‘Test workflow’
Manual Trigger
Set Github Info
Set
Sticky Note1
Sticky Note
File 1
Set
File 2
Set