MQL5-Google-Onedrive/.jules/deploy.yml
google-labs-jules[bot] 73c42f43dd Merge feature and fix branches to main
Merged the following branches:
- feat-genx-trader-bot-bridge (ZOLO bridge, Docker updates)
- feature/zolo-integration-update (ZOLO bridge improvements)
- feature/add-web-request (Requests support)
- fix-mql5-ask-bid-usage (Fix for MQL5)
- update-documentation-and-setup-script (Docs update)
- update-trading-bridge-zolo (Bridge IP update)
- expert-mapsar-improvements (MAPSAR EA improvements)
- remote-control-intelligence-tools-integration (Remote control guide)
- feat/cli-documentation (CLI docs)
- perf-optimize-validator (Validator script optimization)
- jules-docker-run-verification (Verification doc update)

Resolved conflicts in:
- mt5/MQL5/Experts/SMC_TrendBreakout_MTF_EA.mq5 (Version 1.21, merged improvements)
- scripts/ci_validate_repo.py (Kept optimized version)
- render.yaml (Merged configs)
- docker-compose.yml (Merged configs)
- README.md & docs (Merged updates)

Security fixes:
- Removed hardcoded credentials from setup_github_secrets.ps1 and docs/GITHUB_CI_CD_SETUP.md.
2026-01-22 01:09:16 +00:00

79 lines
2 KiB
YAML

name: MQL5 Automation - Dev to Cloud Deployment
on:
push:
branches: [ main, develop ]
workflow_dispatch:
jobs:
build-dev:
name: Build Development Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build development image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.dev
push: false
tags: mql5-automation:dev
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Save image
run: docker save mql5-automation:dev -o dev-image.tar
build-cloud:
name: Build Production Docker Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build production image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile.cloud
push: false
tags: mql5-automation:cloud
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Save image
run: docker save mql5-automation:cloud -o cloud-image.tar
deploy-dev:
name: Deploy to Development Cloud
needs: build-dev
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v3
- name: Deploy to Dev Environment
run: |
echo "Deploying development build to cloud..."
# Add your deployment commands here
# Example: docker-compose -f docker-compose.dev.yml up -d
deploy-cloud:
name: Deploy to Production Cloud
needs: build-cloud
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- name: Deploy to Production
run: |
echo "Deploying production build to cloud..."
# Add your deployment commands here
# Example: flyctl deploy