Files
managing-apps/.github/workflows/caprover.yml
Oda a547c4a040 Add synthApi (#27)
* Add synthApi

* Put confidence for Synth proba

* Update the code

* Update readme

* Fix bootstraping

* fix github build

* Update the endpoints for scenario

* Add scenario and update backtest modal

* Update bot modal

* Update interfaces for synth

* add synth to backtest

* Add Kelly criterion and better signal

* Update signal confidence

* update doc

* save leaderboard and prediction

* Update nswag to generate ApiClient in the correct path

* Unify the trading modal

* Save miner and prediction

* Update messaging and block new signal until position not close when flipping off

* Rename strategies to indicators

* Update doc

* Update chart + add signal name

* Fix signal direction

* Update docker webui

* remove crypto npm

* Clean
2025-07-03 00:13:42 +07:00

52 lines
1.5 KiB
YAML

name: Build & Deploy
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Preset Image Name
run: echo "IMAGE_URL=$(echo ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }}:$(echo ${{ github.sha }} | cut -c1-7) | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
# - name: Build and push Docker Image
# uses: docker/build-push-action@v5
# with:
# context: ./src/Managing.WebApp
# file: ./src/Managing.WebApp/Dockerfile-web-ui-dev
# push: true
# tags: ${{ env.IMAGE_URL }}
# - name: Create deploy.tar
# uses: a7ul/tar-action@v1.1.0
# with:
# command: c
# cwd: "./"
# files: |
# scripts/build_and_run.sh
# captain-definition
# outPath: deploy.tar
# - name: Deploy App to CapRover
# uses: caprover/deploy-from-github@v1.0.1
# with:
# server: '${{ secrets.CAPROVER_SERVER }}'
# app: '${{ secrets.APP_NAME }}'
# token: '${{ secrets.MANAGING_APPS }}'
#