diff --git a/scripts/hero_mdbook.sh b/scripts/hero_mdbook.sh index d94caa1..b9b6421 100644 --- a/scripts/hero_mdbook.sh +++ b/scripts/hero_mdbook.sh @@ -1,63 +1,64 @@ -#!/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 < /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 \ No newline at end of file