]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/danger/clean/prod.sh
Update clean script
[github/Chocobozzz/PeerTube.git] / scripts / danger / clean / prod.sh
1 #!/bin/bash
2
3 read -p "This will remove all directories and Mongo database. Are you sure? " -n 1 -r
4
5 if [[ "$REPLY" =~ ^[Yy]$ ]]; then
6 NODE_ENV=production node "./scripts/danger/clean/cleaner"
7 fi