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