Update build_system_image.yml

This commit is contained in:
fal7w 2023-12-17 13:53:50 +03:00 committed by GitHub
parent a577d0cbea
commit 3138a7a7a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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