From 77bd4bca4755da9e73daf390c84cdd9971c29fb9 Mon Sep 17 00:00:00 2001 From: Mik-TF Date: Thu, 25 Apr 2024 14:19:14 -0400 Subject: [PATCH] stated tft for grants --- collections/projectinca/grants/grants.md | 2 +- hero_mdbook.sh | 64 ++++++++++++++++++++++++ 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 hero_mdbook.sh diff --git a/collections/projectinca/grants/grants.md b/collections/projectinca/grants/grants.md index 5981439..ba06e93 100644 --- a/collections/projectinca/grants/grants.md +++ b/collections/projectinca/grants/grants.md @@ -1,6 +1,6 @@ -# Grants +# TFT Grants ```echarts diff --git a/hero_mdbook.sh b/hero_mdbook.sh new file mode 100644 index 0000000..b9b6421 --- /dev/null +++ b/hero_mdbook.sh @@ -0,0 +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 < /dev/null; exit \ No newline at end of file