Push many files to a Git repository in one action. Great for teams that update sites, docs, or config files and want one clean commit instead of many small uploads. It cuts clicks, reduces mistakes, and keeps history tidy.
The run starts with a manual trigger. A settings step holds your token, username, repo, branch, and commit message. Two file steps prepare file paths and content, and you can add more as needed. HTTP requests then talk to the GitHub API in order. First it reads the latest commit on the branch, then pulls the base tree for that commit. Next it builds a new tree that lists all files to add or change. After that it creates a new commit and finally moves the branch to point to the new commit. Batch updates land in one commit with a clear message.
You need a GitHub Personal Access Token with content write rights. Enter your repo details in the settings step and list your file paths and content in the file steps, then align those entries in the create tree request. Run a test and confirm that the branch updates and the files appear in the right folders. Expect faster releases, fewer errors, and a simpler update routine for static sites, documentation, and configuration changes.