refactor travis encrypt to manual process before push

This commit is contained in:
Lachlan Kermode
2018-12-18 15:54:44 +00:00
parent 651f768c5b
commit e573348679
3 changed files with 18 additions and 7 deletions

View File

@@ -2,10 +2,10 @@
echo "Encrypting .env file for Travis..."
# confirm that the user has the core repo as origin, and is therefore a maintainer
if [ -z `git config --get remote.origin.url | grep "forensic-architecture/datasheet-server"` ]; then
echo "Travis encryption not required for satellite contributors, continuing.."
exit 0
fi
# if [ -z `git config --get remote.origin.url | grep "forensic-architecture/datasheet-server"` ]; then
# echo "Travis encryption not required for satellite contributors, continuing.."
# exit 0
# fi
# confirm travis is installed
if [ ! hash travis 2>/dev/null ]; then