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.
|
|
#!/bin/bashcd /home/mayx/rm -rf public_htmlgit --work-tree=/home/mayx/blog --git-dir=/home/mayx/blog.git checkout -fcd blogmkdir Mabbscurl -L -o Mabbs/README.md https://github.com/Mabbs/Mabbs/raw/main/README.mdbundle2.7 exec jekyll build -d ../public_htmltar czvf MayxBlog.tgz --exclude-vcs ../public_html/mv MayxBlog.tgz ../public_html/cd ../public_html/unset GIT_DIRgit initgit branch -m maingit add .git commit -m "update"git remote add codeberg ssh://git@codeberg.org/mayx/pages.gitgit remote add bitbucket ssh://git@bitbucket.org/unmayx/unmayx.bitbucket.io.gitgit push -f codeberg maingit push -f bitbucket main/home/mayx/blog-env/node_modules/surge/bin/surge /home/mayx/public_html/ mayx.surge.sh
|