Update pre.yml

This commit is contained in:
qiaofeng1227 2022-07-26 14:14:13 +08:00 committed by GitHub
parent 1537c1b5e3
commit 9355f73c0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@
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.aapanel.profiles)' {{installpath}}/{{appname}}/docker-compose.yml > /tmp/tmp.yml yq eval 'del(.services.aapanel.profiles)' {{installpath}}/{{appname}}/docker-compose.yml > /tmp/tmp.yml
cat /tmp/tmp.yml > docker-compose.yml cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
rm -f /tmp/tmp.yml rm -f /tmp/tmp.yml
when: baota_version == "aapanel/aapanel" when: baota_version == "aapanel/aapanel"