更新 deploy.sh, .gitlab-ci.yml See merge request mayx/mayx.gitlab.io!2master
commit
1fb70c29f0
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
wget https://github.com/Mabbs/Mabbs/raw/main/README.md
|
||||
mkdir Mabbs
|
||||
echo "---
|
||||
layout: default
|
||||
---" > Mabbs/index.md
|
||||
cat README.md >> Mabbs/index.md
|
||||
rm -rf README.md
|
||||
rm -rf .git/
|
||||
bundle exec jekyll build -d public
|
||||
rm -rf .jekyll-cache/
|
||||
tar czvf ../MayxBlog.tgz .
|
||||
mv ../MayxBlog.tgz public/
|
Loading…
Reference in new issue