mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
Update build_system_image.yml
This commit is contained in:
parent
6ef81fc0fc
commit
27a6fc3e9a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build_system_image.yml
vendored
4
.github/workflows/build_system_image.yml
vendored
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: |
|
||||
cp example.env ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
sed -i 's/FRAPPE_SITE_NAME_HEADER=/FRAPPE_SITE_NAME_HEADER=${{ github.event.pull_request.head.ref }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
sed -i 's/DB_PASSWORD=/DB_PASSWORD=${{ vars.MARIADB_PASSWORD }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
sed -i 's/DB_PASSWORD=/DB_PASSWORD=${{ secrets.MARIADB_PASSWORD }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
echo "PORTS= $((8081 + RANDOM % 919))" >> ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
echo PORTS= $((8081 + RANDOM % 919))
|
||||
# sed -i 's/DBPASSWORD=/DP=DBPASSWORD=${{ vars.MARIADB_PASSWORD }}/g' ~/gitops/${{ github.event.pull_request.head.ref }}.env
|
||||
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
- 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 }}
|
||||
bench new-site --no-mariadb-socket --admin-password=${{ secrets.MARIADB_PASSWORD }} --db-root-password=${{ secrets.MARIADB_PASSWORD }} --install-app erpnext --set-default ${{ github.event.pull_request.head.ref }}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue