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