Clone only HEAD from CrisisCleanup repo

This commit is contained in:
Disassembler 2017-11-28 19:55:34 +01:00
parent 2a3b35b673
commit d2b102ebb2

View File

@ -14,7 +14,7 @@ apt-get -y --no-install-recommends install build-essential curl libpq-dev nodejs
gem install bundler gem install bundler
# Clone CrisisCleanup git repository # Clone CrisisCleanup git repository
git clone https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup git clone --depth 1 https://github.com/CrisisCleanup/crisiscleanup /srv/crisiscleanup
# Fix Ruby version dependencies # Fix Ruby version dependencies
sed -i 's/2\.2\.5/2.3.3/' /srv/crisiscleanup/Gemfile sed -i 's/2\.2\.5/2.3.3/' /srv/crisiscleanup/Gemfile