Update test.yml

This commit is contained in:
qiaofeng1227 2022-05-16 10:11:57 +08:00 committed by GitHub
parent 682e7ac342
commit c51cbf41b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,5 +23,5 @@
- name: Config .env for start containers
shell: |
public_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash`
sed -i 's/APP_VERSION=.*/APP_VERSION=v{{erpnext_version}}/g' /data/apps/{{appname}}/.env
sed -i "s/erp.example.com/$public_ip/g" /data/apps/{{appname}}/.env
sed -i 's/APP_VERSION=.*/APP_VERSION=v{{erpnext_version}}/g' {{installpath}}/{{appname}}/.env
sed -i "s/erp.example.com/$public_ip/g" {{installpath}}/{{appname}}/.env