mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-24 00:35:10 +00:00
Update crwate_site.yml
This commit is contained in:
parent
508fa8684f
commit
307a005da6
1 changed files with 13 additions and 1 deletions
14
.github/workflows/crwate_site.yml
vendored
14
.github/workflows/crwate_site.yml
vendored
|
|
@ -6,7 +6,15 @@ on:
|
|||
jobs:
|
||||
rcreate_site:
|
||||
runs-on: self-hosted
|
||||
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
env:
|
||||
MARIADB_ROOT_PASSWORD: fintech2023
|
||||
ports:
|
||||
- 3306:3306
|
||||
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
|
@ -21,6 +29,10 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt # Add this if you have any Python dependencies
|
||||
|
||||
- name: Wait for services to be ready
|
||||
run: |
|
||||
docker compose --project-name erpnext-one exec backend bench setup production
|
||||
|
||||
- name: Run create site Script
|
||||
run: python fintechsys/create_site.py
|
||||
|
|
|
|||
Loading…
Reference in a new issue