Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-27 09:01:42 +08:00 committed by GitHub
parent 9b001ef056
commit ec0d0abae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,6 @@
- name: Config .env and docker-compose for start
shell: |
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.aapanel.profiles)' > /tmp/tmp.yml
cat {{installpath}}/{{appname}}/docker-compose.yml |yq eval 'del(.services.{{baota_version}}.profiles)' > /tmp/tmp.yml
cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
rm -f /tmp/tmp.yml