दस्तावेज़ पर वापस
GitHub Integration

GitHub Actions से CI/CD

GitHub Actions से अपने applications automatically build और deploy करें।

Advanced10 min readUpdated 2024-02-01

GitHub Actions क्यों use करें?

GitHub Actions builds के फ़ायदे:

  • Free CI minutes: GitHub free build minutes देता है
  • तेज़ builds: GitHub का infrastructure अक्सर तेज़ होता है
  • सर्वर free रखें: VPS resources ऐप्स चलाने के लिए बचे रहते हैं
  • Familiar workflow: Standard GitHub Actions syntax

GitHub Actions सेटअप करें

  1. GitHub से ऐप deploy करें
  2. Build settings में "GitHub Actions" चुनें
  3. Server Compass workflow file generate करता है
  4. Workflow को अपने repo में commit करें
  5. भविष्य के pushes automated builds trigger करते हैं

Workflow configuration

Generated workflow:

  • आपकी Docker image build करती है
  • GitHub Container Registry पर push करती है
  • Server Compass को deploy के लिए notify करती है
  • आपकी configured किसी भी branch के साथ काम करती है

Builds monitor करें

Server Compass में build status देखें:

  1. अपने app का CI/CD tab खोलें
  2. Recent workflow runs देखें
  3. Real-time में build logs देखें
  4. Workflows manually re-trigger करें

Screenshots

GitHub Actions से CI/CD - Screenshot 1
GitHub Actions से CI/CD - Screenshot 2
GitHub Actions से CI/CD - Screenshot 3

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes.

Download Server Compass