update_mangane_local.sh 373 B

123456
  1. #!/bin/bash
  2. web_path=""
  3. curl -L https://github.com/BDX-town/Mangane/releases/latest/download/static.zip -o "$web_path/mangane.zip"
  4. unzip "$web_path/mangane.zip" -d "$web_path/mangane"
  5. rsync -avh --delete --exclude=".htaccess" --exclude="favicon.ico" --exclude="robots.txt" "$web_path/mangane/dist/" "$web_path/public_html"
  6. rm -r "$web_path/mangane.zip" "$web_path/mangane"