make does refresh deployment
This commit is contained in:
@@ -5,5 +5,10 @@
|
||||
|
||||
# podman exec -it nextcloud_local rsync --chown www-data:www-data -av /root/polls/ /var/www/html/custom_apps/polls --exclude .git --exclude node_modules
|
||||
|
||||
podman exec -it nextcloud_local tar -xzf /root/polls/build/artifacts/appstore/polls.tar.gz -C /var/www/html/custom_apps/
|
||||
app=polls
|
||||
app_polls=$app/build/artifacts/polls.tar.gz
|
||||
apps_dir=/var/www/html/custom_apps/
|
||||
|
||||
echo "Assuming $app is mounted under /root/$app of container"
|
||||
podman exec -it nextcloud_local tar -xzf /root/$app_polls -C ${apps_dir}
|
||||
podman exec -it nextcloud_local chown -R www-data:www-data ${apps_dir}
|
||||
|
||||
Reference in New Issue
Block a user