Back to documentation
GitHub Integration

CI/CD with GitHub Actions

Use GitHub Actions to build and deploy your applications automatically.

Advanced10 min readUpdated 2024-02-01

Why use GitHub Actions?

Benefits of GitHub Actions builds:

  • Free CI minutes: GitHub provides free build minutes
  • Faster builds: GitHub's infrastructure is often faster
  • Keep server free: Your VPS resources stay for running apps
  • Familiar workflow: Standard GitHub Actions syntax

Setting up GitHub Actions

  1. Deploy an app from GitHub
  2. In build settings, select "GitHub Actions"
  3. Server Compass generates the workflow file
  4. Commit the workflow to your repo
  5. Future pushes trigger automated builds

Workflow configuration

The generated workflow:

  • Builds your Docker image
  • Pushes to GitHub Container Registry
  • Notifies Server Compass to deploy
  • Works with any branch you configure

Monitoring builds

View build status in Server Compass:

  1. Open your app's CI/CD tab
  2. See recent workflow runs
  3. View build logs in real-time
  4. Re-trigger workflows manually

Screenshots

CI/CD with GitHub Actions - Screenshot 1
CI/CD with GitHub Actions - Screenshot 2
CI/CD with GitHub Actions - Screenshot 3

Screenshots may vary slightly from the current version

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes. No terminal knowledge required.