diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 129bd8d..cb58c76 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -7,12 +7,14 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Build and Deploy + - name: Pull latest code run: | + apk add --no-cache git docker-cli docker-cli-compose cd /opt/data/trading-portal git pull origin master + + - name: Build and deploy + run: | + cd /opt/data/trading-portal docker compose build backend-api backend-scheduler frontend docker compose up -d backend-api backend-scheduler frontend