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
4efbf8a5a7
commit
3302c4b65b
@ -21,15 +21,15 @@
|
|||||||
- name: Config .env and docker-compose for aapanel
|
- name: Config .env and docker-compose for aapanel
|
||||||
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)' docker-compose.yml > tmp.yml
|
yq eval 'del(.services.aapanel.profiles)' {{installpath}}/{{appname}}/docker-compose.yml > /tmp/tmp.yml
|
||||||
cat tmp.yml > docker-compose.yml
|
cat /tmp/tmp.yml > docker-compose.yml
|
||||||
rm -f tmp.yml
|
rm -f /tmp/tmp.yml
|
||||||
when: baota_version == "aapanel/aapanel"
|
when: baota_version == "aapanel/aapanel"
|
||||||
|
|
||||||
- name: Config .env and docker-compose for btpanel
|
- name: Config .env and docker-compose for btpanel
|
||||||
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.btpanel.profiles)' docker-compose.yml > tmp.yml
|
yq eval 'del(.services.btpanel.profiles)' {{installpath}}/{{appname}}/docker-compose.yml > /tmp/tmp.yml
|
||||||
cat tmp.yml > docker-compose.yml
|
cat /tmp/tmp.yml > {{installpath}}/{{appname}}/docker-compose.yml
|
||||||
rm -f tmp.yml
|
rm -f /tmp/tmp.yml
|
||||||
when: baota_version == "btpanel/baota"
|
when: baota_version == "btpanel/baota"
|
||||||
|
Loading…
Reference in New Issue
Block a user