From 3138a7a7a5c24eba0b7d0869418d725b44a9d524 Mon Sep 17 00:00:00 2001 From: fal7w <147312030+fal7w@users.noreply.github.com> Date: Sun, 17 Dec 2023 13:53:50 +0300 Subject: [PATCH] Update build_system_image.yml --- .github/workflows/build_system_image.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_system_image.yml b/.github/workflows/build_system_image.yml index 91451a8c..19953a7f 100644 --- a/.github/workflows/build_system_image.yml +++ b/.github/workflows/build_system_image.yml @@ -47,11 +47,11 @@ jobs: - name: Deploy the container run: | docker-compose --project-name ${{ github.event.pull_request.head.ref }} -f ~/gitops/${{ github.event.pull_request.head.ref }}.yaml up -d + - name: Create the site + run: | sleep 60 - # - name: Create the site - # run: | - # docker-compose --project-name ${{ github.event.pull_request.head.ref }} exec backend \ - # bench new-site --no-mariadb-socket --admin-password=${{ vars.MARIADB_PASSWORD }} --db-root-password=${{ vars.MARIADB_PASSWORD }} --install-app erpnext --set-default ${{ github.event.pull_request.head.ref }} + docker-compose --project-name ${{ github.event.pull_request.head.ref }} exec backend \ + bench new-site --no-mariadb-socket --admin-password=${{ vars.MARIADB_PASSWORD }} --db-root-password=${{ vars.MARIADB_PASSWORD }} --install-app erpnext --set-default ${{ github.event.pull_request.head.ref }}