refactor: align trading schemas with probabilistic paper trading system #103
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 Render | |
| on: | |
| push: | |
| branches: [ main ] | |
| tags: | |
| - 'v*' | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main') | |
| steps: | |
| - name: Trigger Render Deploy | |
| run: | | |
| if [ -z "$RENDER_DEPLOY_HOOK" ]; then | |
| echo "Error: RENDER_DEPLOY_HOOK is not set" | |
| exit 1 | |
| fi | |
| echo "Triggering Render deployment..." | |
| curl -X POST "$RENDER_DEPLOY_HOOK" | |
| env: | |
| RENDER_DEPLOY_HOOK: ${{ secrets.RENDER_DEPLOY_HOOK }} |