Skip to content

Commit

Permalink
Update docker-CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
abolfazl8131 authored Sep 28, 2024
1 parent 58e5948 commit d3ea9c5
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions .github/workflows/docker-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
branches: [ "master" ]


jobs:

build:
Expand All @@ -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










0 comments on commit d3ea9c5

Please sign in to comment.