docs: Phase 18 Iteration 11 — using-orchestrator-for-real-projects ru… #253
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to Dev | |
| on: | |
| push: | |
| branches: [dev] | |
| jobs: | |
| deploy: | |
| runs-on: self-hosted-dev | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Copy .env from VM | |
| run: cp /home/ubuntu/.env.orchestrator .env | |
| - name: Build and restart stack | |
| run: docker compose up -d --build | |
| - name: Verify health | |
| run: | | |
| sleep 15 | |
| curl -sf http://localhost:8000/healthz |