This commit is contained in:
Ciro Santilli
2020-03-22 00:00:02 +00:00
parent 0b362a83fb
commit 33ee7bf23d
2 changed files with 3 additions and 1 deletions

View File

@@ -4166,6 +4166,8 @@ The cool thing about Git is that we can maintain several mirrors on multiple web
* https://gitlab.com/cirosantilli/china-dictatorship Maybe some day http://gitlab.cn/ ? :-)
* https://bitbucket.org/cirosantilli/china-dictatorship
A GitHub Pages just for fun: http://cirosantilli.com/china-dictatorship This is useless though, because the domain can easily be blocked at no cost. It does show the YouTube videos inline though!
We also have a NPM Node.js package https://www.npmjs.com/package/china-dictatorship[]. After https://askubuntu.com/questions/594656/how-to-install-the-latest-versions-of-nodejs-and-npm/971612#971612[installing NPM], you can be use it as:
....

View File

@@ -17,7 +17,7 @@ gh_pages_dir=out/gh-pages
# and copy over https://github.com/cirosantilli/jekyll-min
if [ ! -d "$gh_pages_dir" ]; then
mkdir -p "$gh_pages_dir"
git clone . "$gh_pages_dir"
git clone --branch gh-pages "$(git remote get-url origin)"
fi
cp README.html "$gh_pages_dir"
git -C "$gh_pages_dir" add "README.html"