Skip to content

Commit

Permalink
GHA: Installs platform via Ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 5, 2024
1 parent 40e3e31 commit edb44b4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ on:
push:
branches:
- 'master'
- 'ci'
- '*dev*'
paths:
- '**/*.mq?'
- '.github/workflows/compile.yml'

jobs:
Compile:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Installs platform
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: platform-install.yml
directory: ./ansible
options: |
--connection local
--inventory localhost,
--verbose
requirements: galaxy-requirements.yml
- uses: fx31337/mql-compile-action@master
with:
verbose: true
4 changes: 0 additions & 4 deletions ansible/install-mt.yml

This file was deleted.

3 changes: 3 additions & 0 deletions ansible/install-platform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- hosts: all
roles: [ea31337.metatrader]

0 comments on commit edb44b4

Please sign in to comment.