system-prompts-and-models-o.../dealix/docs/ops/GITHUB_ACTIONS_ENV_SETUP.md

1.5 KiB

أسرار GitHub Actions — Dealix

المسار في GitHub: Repository → SettingsSecrets and variablesActionsNew repository secret.

الريبو: VoXc2/system-prompts-and-models-of-ai-tools.

دخان Staging (يدوي)

السر الوصف
STAGING_BASE_URL أصل HTTPS للتطبيق المنشور، بدون شرطة مائلة أخيرة (مثلاً https://xxx.up.railway.app)
STAGING_API_KEY اختياري؛ إذا فرض التطبيق X-API-Key على الطلبات

Workflow: .github/workflows/dealix-staging-smoke.yml — من تبويب Actions اختر Dealix staging smokeRun workflow.

Daily Revenue Machine

السر الوصف
DEALIX_API_BASE أصل الـ API (مثل https://host بدون / زائدة)
DEALIX_API_KEY مفتاح يُرسل كـ Authorization: Bearer …

Workflow: .github/workflows/dealix-daily-revenue-machine.yml.
جدولة cron: تعمل من الفرع الافتراضي للريبو (غالباً main)؛ راجع تعليق الملف.

CI الأساسي

Dealix API CI لا يحتاج أسرار للاختبارات الافتراضية (مفاتيح وهمية داخل YAML). لا تضع مفاتيح إنتاج في CI.