mirror of
https://github.com/YunoHost-Apps/cesium_ynh.git
synced 2024-09-03 18:06:25 +02:00
[fix] new artifact release name: https://github.com/duniter/cesium/issues/110.
This commit is contained in:
parent
9416c47a06
commit
79f3447460
2 changed files with 5 additions and 4 deletions
|
@ -24,8 +24,8 @@ src_path=/var/www/$app
|
|||
sudo mkdir -p $src_path
|
||||
url=$(curl -s https://api.github.com/repos/duniter/cesium/releases | grep "browser_" | grep "web" | head -1 | cut -d\" -f4)
|
||||
wget -nc --quiet $url -P /tmp
|
||||
sudo unzip -q /tmp/cesium-web-*.zip -d $src_path
|
||||
sudo rm -f /tmp/cesium-web-*.zip
|
||||
sudo unzip -q /tmp/cesium-*-web.zip -d $src_path
|
||||
sudo rm -f /tmp/cesium-*-web.zip
|
||||
sudo chown -R www-data: $src_path
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
|
|
|
@ -21,8 +21,9 @@ sudo rm -rf $src_path
|
|||
sudo mkdir -p $src_path
|
||||
url=$(curl -s https://api.github.com/repos/duniter/cesium/releases | grep "browser_" | grep "web" | head -1 | cut -d\" -f4)
|
||||
wget -nc --quiet $url -P /tmp
|
||||
sudo unzip -q /tmp/cesium-web-*.zip -d $src_path
|
||||
sudo rm -f /tmp/cesium-web-*.zip
|
||||
|
||||
sudo unzip -q /tmp/cesium-*-web.zip -d $src_path
|
||||
sudo rm -f /tmp/cesium-*-web.zip
|
||||
sudo chown -R www-data: $src_path
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
|
|
Loading…
Add table
Reference in a new issue