mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 18:30:23 +08:00
Update pre.yml
This commit is contained in:
parent
a25a1fda01
commit
7c0c389e01
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
- name: Config .env and docker-compose for start containers
|
- name: Config .env and docker-compose for start containers
|
||||||
shell: |
|
shell: |
|
||||||
sed -i 's/APP_REPO=.*/APP_REPO={{baota_version}}/g' {{installpath}}/{{appname}}/.env
|
sed -i 's/APP_REPO=.*/APP_REPO={{baota_version}}/g' {{installpath}}/{{appname}}/.env
|
||||||
yq eval 'del(.services.{{baota_version.split("/")[0] }}.profiles)' docker-compose.yml > tmp.yml
|
yq eval 'del(.services.{{baota_version.split("/")[0] }}.profiles)' docker-compose.yml > tmp.yml
|
||||||
cat tmp.yml > docker-compose.yml
|
cat tmp.yml > docker-compose.yml
|
||||||
rm -f tmp.yml
|
rm -f tmp.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user