Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.84 KB

File metadata and controls

71 lines (48 loc) · 1.84 KB

🚀 دليل سريع لرفع الكود إلى GitHub

الطريقة السريعة (PowerShell Script)

1. تشغيل السكريبت

.\push-to-github.ps1

سيطلب منك:

  • رابط المستودع (مثال: https://github.com/YOUR_USERNAME/n8n-api-client.git)

2. إضافة GitHub Secrets

بعد رفع الكود:

  1. GitHub > المستودع > Settings
  2. Secrets and variables > Actions
  3. New repository secret

أضف:

  • N8N_URL = https://mayomina2020.app.n8n.cloud
  • N8N_API_KEY = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkMzIxYzExZi0wMzk0LTQxNzMtYTRmOS1jMGZiYzFlZGRjMzciLCJpc3MiOiJuOG4iLCJhdWQiOiJwdWJsaWMtYXBpIiwiaWF0IjoxNzY3MDE3OTY5fQ.fHQC0_jqhrTWpTgn8u57fcEuBj8d8wbXqRv1zWCZOBU

3. التحقق

  • اذهب إلى تبويب Actions في GitHub
  • سترى workflows تعمل تلقائياً

الطريقة اليدوية

1. إنشاء مستودع على GitHub

  • اذهب إلى GitHub.com
  • + > New repository
  • أدخل الاسم (مثلاً: n8n-api-client)
  • Create repository

2. رفع الكود

git init
git add .gitignore n8n-client.js package.json README.md example.js .github/ *.md
git commit -m "feat: n8n API client library"
git remote add origin https://github.com/YOUR_USERNAME/REPO_NAME.git
git branch -M main
git push -u origin main

3. إضافة Secrets (نفس الخطوات أعلاه)


✅ قائمة التحقق

  • تم إنشاء مستودع على GitHub
  • تم رفع الكود
  • تم إضافة N8N_URL في Secrets
  • تم إضافة N8N_API_KEY في Secrets
  • تم التحقق من Actions tab

📚 ملفات إضافية

  • PUSH_TO_GITHUB.md - دليل مفصل
  • ACTIONS_GUIDE.md - دليل GitHub Actions
  • GITHUB_SETUP.md - إعداد GitHub Secrets