ドキュメントに戻る


GitHub連携
GitHub Actions で CI/CD
GitHub Actions を使用してアプリケーションを自動的にビルドおよびデプロイします。
Advanced10 min readUpdated 2024-02-01
GitHub Actions を使用する理由
GitHub Actions ビルドの利点:
- 無料 CI 分:GitHub が無料ビルド分を提供
- 高速ビルド:GitHub のインフラは通常高速
- サーバーを空けておく:VPS リソースを実行中のアプリのために確保
- 慣れたワークフロー:標準の GitHub Actions 構文
GitHub Actions を設定
- GitHub からアプリをデプロイ
- ビルド設定で「GitHub Actions」を選択
- Server Compass がワークフローファイルを生成
- ワークフローをリポジトリにコミット
- 今後のプッシュで自動ビルドがトリガー
ワークフロー設定
生成されたワークフロー:
- Docker イメージをビルド
- GitHub Container Registry にプッシュ
- Server Compass にデプロイを通知
- 設定した任意のブランチで動作
ビルドを監視
Server Compass でビルドステータスを表示:
- アプリの CI/CD タブを開く
- 最近のワークフロー実行を表示
- ビルドログをリアルタイムで表示
- ワークフローを手動で再トリガー
Screenshots



Video Tutorials
Related Features
GitHub Actions Integration
Build and deploy using GitHub Actions free CI minutes. Your server resources stay free for running apps.
Auto-Deploy on Push
Enable automatic deployments triggered by code pushes. Configure polling intervals and branch filters.
Workflow Management
Sync, view, and manage GitHub Actions workflows. See run history, job status, and trigger workflows manually.
Ready to try Server Compass?
Download the app and deploy your first application in under 5 minutes.
Download Server Compass