#!/bin/bash # Generate opening text. cat < /tmp/hero_install.sh bash /tmp/hero_install.sh # Start the SSH agent, run hero mdbook and build the mdbook eval $(ssh-agent) hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript cd /root/hero/var/mdbuild/duniayetu mdbook build # Generate closing text after successful script. cat < /dev/null; exit