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