parasol-static-site/badger-entrypoint.sh.tmpl

13 lines
159 B
Bash

#!/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 "$@"