diff --git a/.github/workflows/docker-CI.yml b/.github/workflows/docker-CI.yml index 476173f..3532788 100644 --- a/.github/workflows/docker-CI.yml +++ b/.github/workflows/docker-CI.yml @@ -6,6 +6,7 @@ on: pull_request: branches: [ "master" ] + jobs: build: @@ -16,9 +17,34 @@ jobs: - uses: actions/checkout@v4 - name: create venv run: python -m venv venv + - name: install dependecies run: source venv/bin/activate && pip install -r requirements.txt - - name: run in dev mode + + test: + runs-on: ubuntu-latest + env: + ENV: Dev + steps: + - name: run containers in dev mode working-directory: ./AriaStack_Ansible/AriaStack run: sh run_stack.sh - + + - name: stop containers in dev mode + working-directory: ./AriaStack_Ansible/AriaStack + run: sh down_stack.sh + + deploy: + runs-on: ubuntu-latest + env: + ENV: Production + + + + + + + + + +