fix: clear seed_mappings.json and block duplicate repo mappings in wi… #58
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: Free disk space | |
| run: docker builder prune -f | |
| - name: Build and restart stack | |
| run: docker compose up -d --build | |
| - name: Verify health | |
| run: | | |
| sleep 15 | |
| curl -sf http://localhost:8000/healthz |