chore: retrigger prod deploy after runner restart #51
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 Production | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: self-hosted-prod | |
| 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 |