Update Deploy_Traefik_and_MariaDB.yml

This commit is contained in:
fal7w 2023-11-26 10:13:03 +03:00 committed by GitHub
parent f4c5fd10b2
commit 49ef11a53a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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