İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Kod, Git ve Geliştirici Araçları

Kod, Git ve Geliştirici Araçları

REST API ile Bir GitHub Deposuna Birden Fazla Dosya Yükle

Manuel olarak tetiklenen iş akışı, GitHub REST API üzerinden birkaç dosyayı tek seferde bir GitHub deposuna gönderir ve yerel düğümün tek dosya sınırlamasını aşar.

Ne yapar

## Push Multiple Files to GitHub Repo A streamlined workflow for uploading multiple files to a GitHub repository via the GitHub REST API. This solution addresses a significant limitation of the native GitHub n8n node, which supports only single-file uploads. This approach enables batch file operations, making it particularly valuable for automation scenarios that require simultaneous uploads of multiple files to your GitHub repositories. ### Setup Instructions: 1. Create a new GitHub Personal Access Token here as needed.

Adımlar

  1. Get latest commit SHA
  2. Get base tree SHA
  3. Create new tree
  4. Create commit
  5. Update branch
  6. When clicking ‘Test workflow’
  7. Set Github Info
  8. File 1
  9. File 2

Benzer otomasyonlar