Update deploy.sh

master
mayx 3 years ago
parent 1fb70c29f0
commit a0cdec8592

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
wget https://github.com/Mabbs/Mabbs/raw/main/README.md wget -O Mabbs.md https://github.com/Mabbs/Mabbs/raw/main/README.md
mkdir Mabbs mkdir Mabbs
echo "--- echo "---
layout: default layout: default
---" > Mabbs/index.md ---" > Mabbs/index.md
cat README.md >> Mabbs/index.md cat Mabbs.md >> Mabbs/index.md
rm -rf README.md rm -rf Mabbs.md
rm -rf .git/ rm -rf .git/
bundle exec jekyll build -d public bundle exec jekyll build -d public
rm -rf .jekyll-cache/ rm -rf .jekyll-cache/

Loading…
Cancel
Save