# Install git-crypt
cd
git clone https://github.com/AGWA/git-crypt.git
cd git-crypt
make
sudo make install

# Unlock encrypted files
cd ~/refinebio/.circleci
openssl aes-256-cbc -md md5 -d -in exported.key.enc -out $KEY_FILENAME -k $OPENSSL_KEY
git-crypt unlock $KEY_FILENAME
rm -f $KEY_FILENAME

# Unlock encrypted files
cd ~/refinebio/.circleci
openssl aes-256-cbc -md md5 -d -in exported.key.enc -out $KEY_FILENAME -k $OPENSSL_KEY
git-crypt unlock $KEY_FILENAME
rm -f $KEY_FILENAME

Install git-crypt during instance startup rather than every deploy.
Install git-crypt during instance startup rather than every deploy.
