- #!/bin/bash
- web_path=""
- curl -L https://github.com/cheeaun/phanpy/releases/latest/download/phanpy-dist.zip -o "$web_path/phanpy.zip"
- unzip "$web_path/phanpy.zip" -d "$web_path/phanpy"
- rsync -avh --delete --exclude=".htaccess" "$web_path/phanpy/" "$web_path/public_html"
- rm -r "$web_path/phanpy.zip" "$web_path/phanpy"
|