#!/bin/bash
wget -O Mabbs.md https://github.com/Mabbs/Mabbs/raw/main/README.md
mkdir Mabbs
echo "---
layout: default
---" > Mabbs/index.md
cat Mabbs.md >> Mabbs/index.md
rm -rf Mabbs.md
rm -rf .git/
bundle exec jekyll build -d public
rm -rf .jekyll-cache/
tar czvf ../MayxBlog.tgz .
mv ../MayxBlog.tgz public/
