Mayx's Home Page https://mabbs.github.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1023 B

  1. #!/bin/bash
  2. cd /home/Mayx/
  3. rm -rf domains/mayx.serv00.net/public_html/
  4. git --work-tree=/home/Mayx/blog --git-dir=/home/Mayx/repo/git/pub/mayx checkout -f
  5. cd blog
  6. mkdir Mabbs
  7. curl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.md
  8. bundle exec jekyll build -d ../domains/mayx.serv00.net/public_html/
  9. tar czvf MayxBlog.tgz --exclude-vcs -C ../domains/mayx.serv00.net public_html/
  10. mv MayxBlog.tgz ../domains/mayx.serv00.net/public_html/
  11. rsync -avz --delete ../domains/mayx.serv00.net/public_html/ mayx@web.sourceforge.net:/home/project-web/mayx/htdocs/
  12. cd ../domains/mayx.serv00.net/public_html/
  13. unset GIT_DIR
  14. git init
  15. git lfs install
  16. git lfs track "*.png"
  17. git lfs track "*.moc"
  18. git lfs track "*.tgz"
  19. git lfs track "*.jpg"
  20. git lfs track "*.zip"
  21. git branch -m main
  22. echo "---
  23. title: Mayx
  24. emoji: 🏢
  25. colorFrom: green
  26. colorTo: blue
  27. sdk: static
  28. pinned: false
  29. short_description: Mayx's Home Page
  30. ---
  31. ">README.md
  32. git add .
  33. git commit -m "update"
  34. git remote add hf git@hf.co:spaces/Mabbs/blog
  35. git push -f hf main

Powered by TurnKey Linux.