gitlab use self contained images

This commit is contained in:
Ciro Santilli
2021-04-29 01:00:00 +00:00
parent cfa50ceb80
commit 4591ac4db7
2 changed files with 10 additions and 1 deletions

View File

@@ -196,6 +196,7 @@ The cool thing about Git is that we can maintain several mirrors on multiple web
* https://github.com/cirosantilli/china-dictatorship Canonical source and rendered output. If ever <<github-gov-takedowns>> we do this: <<strategy-if-this-repo-gets-added-to-github-gov-takedowns>> * https://github.com/cirosantilli/china-dictatorship Canonical source and rendered output. If ever <<github-gov-takedowns>> we do this: <<strategy-if-this-repo-gets-added-to-github-gov-takedowns>>
* https://gitlab.com/cirosantilli/china-dictatorship Maybe some day https://gitlab.cn/ ? :-) Their render is shit for some reason, clicking on the ToC does not jump to headers properly, not sure why, IDs look correct * https://gitlab.com/cirosantilli/china-dictatorship Maybe some day https://gitlab.cn/ ? :-) Their render is shit for some reason, clicking on the ToC does not jump to headers properly, not sure why, IDs look correct
** https://cirosantilli.gitlab.io/china-dictatorship GitLab Pages. Works fine. Let's see if they can block subdomains.
* https://gitee.com/cirosantilli/china-dictatorship on <<gitee>>, blocked after 12 hours: <<gitee-censorship>> * https://gitee.com/cirosantilli/china-dictatorship on <<gitee>>, blocked after 12 hours: <<gitee-censorship>>
* https://bitbucket.org/cirosantilli/china-dictatorship * https://bitbucket.org/cirosantilli/china-dictatorship
* https://git.kiwifarms.net/CrunkLord420/china-dictatorship auto-pull Gitea mirror on https://en.wikipedia.org/wiki/Kiwi_Farms[Kiwi Farms] (a <<politically-incorrect,politically incorrect>> social network website) * https://git.kiwifarms.net/CrunkLord420/china-dictatorship auto-pull Gitea mirror on https://en.wikipedia.org/wiki/Kiwi_Farms[Kiwi Farms] (a <<politically-incorrect,politically incorrect>> social network website)
@@ -11432,6 +11433,14 @@ Once the screenshot is made, you can "view the HTML", and that gives an Amazon A
The free trial is very limited, and you can't share the screenshots on a public URL. See also: <<censorship-monitoring>>. The free trial is very limited, and you can't share the screenshots on a public URL. See also: <<censorship-monitoring>>.
====== Geo Targetly
https://geotargetly.com/
This one can actually share screenshots for different countries, nice: https://geotargetly.com/geo-browse?url=https://github.com/cirosantilli/china-dictatorship/issues/266&country_code=CN
Small deatail: it doesn't work, or it takes forever, either one.
===== Lists of material censored in China ===== Lists of material censored in China
For materials hosted on GitHub, see: <<github-repositories-with-censored-information>>. For materials hosted on GitHub, see: <<github-repositories-with-censored-information>>.

View File

@@ -28,7 +28,7 @@ if [ ! -d "$gl_pages_dir" ]; then
mkdir -p "${gl_pages_dir}/public" mkdir -p "${gl_pages_dir}/public"
git clone --branch gl-pages --depth 1 git@gitlab.com:cirosantilli/china-dictatorship.git remote get-url origin "$gl_pages_dir" git clone --branch gl-pages --depth 1 git@gitlab.com:cirosantilli/china-dictatorship.git remote get-url origin "$gl_pages_dir"
fi fi
cp README.html "${gl_pages_dir}/public/index.html" make MEDIA=https://gitlab.com/cirosantilli/china-dictatorship-media/-/raw/master OUT="${gl_pages_dir}/public/index.html"
cp .gitlab-ci.yml "${gl_pages_dir}" cp .gitlab-ci.yml "${gl_pages_dir}"
git -C "$gl_pages_dir" add . git -C "$gl_pages_dir" add .
if git -C "$gl_pages_dir" commit -m "$(git log -1 --format="%H")"; then if git -C "$gl_pages_dir" commit -m "$(git log -1 --format="%H")"; then