#!/bin/bash
set -e
{{ if eq (env "PRIVATE_ENABLED") "1" }}
eval $(ssh-agent -s)
ssh-add /root/.ssh/deploy
{{ end }}
bash /root/scripts/deploy.sh
exec "$@"