From 49ef11a53ad73cb4c9cd5b02047d29d22269fdb7 Mon Sep 17 00:00:00 2001 From: fal7w <147312030+fal7w@users.noreply.github.com> Date: Sun, 26 Nov 2023 10:13:03 +0300 Subject: [PATCH] Update Deploy_Traefik_and_MariaDB.yml --- .../workflows/Deploy_Traefik_and_MariaDB.yml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/Deploy_Traefik_and_MariaDB.yml b/.github/workflows/Deploy_Traefik_and_MariaDB.yml index 08de7bd3..8dd5a358 100644 --- a/.github/workflows/Deploy_Traefik_and_MariaDB.yml +++ b/.github/workflows/Deploy_Traefik_and_MariaDB.yml @@ -12,21 +12,21 @@ jobs: steps: - name: checkout Script content uses: actions/checkout@v2 # checkout the repository content +## if the docker not install then using this script + # - name: setup python + # uses: actions/setup-python@v4 + # with: + # python-version: '3.10' # install the python version needed - - name: setup python - uses: actions/setup-python@v4 - with: - python-version: '3.10' # install the python version needed - - - name: install dependicese - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install PyGithub - - name: fintechsys/docker_compose.py # run main.py - env: - SOME_SECRET: ${{ secrets.SOME_SECRET }} - run: python fintechsys/docker_compose.py + # - name: install dependicese + # run: | + # python -m pip install --upgrade pip + # pip install -r requirements.txt + # pip install PyGithub + # - name: fintechsys/docker_compose.py # run main.py + # env: + # SOME_SECRET: ${{ secrets.SOME_SECRET }} + # run: python fintechsys/docker_compose.py # - name: Checkout repository # uses: actions/checkout@v2 @@ -55,7 +55,7 @@ jobs: - name: Docker Compose up for Traefik run: | - docker-compose --project-name traefik \ + docker compose --project-name traefik \ --env-file ~/gitopss/traefik.env \ -f overrides/compose.traefik.yaml \ -f overrides/compose.traefik-ssl.yaml up -d @@ -65,6 +65,6 @@ jobs: - name: Deploy MariaDB container run: | - docker-compose --project-name mariadb \ + docker compose --project-name mariadb \ --env-file ~/gitopss/mariadb.env \ -f overrides/compose.mariadb-shared.yaml up -d