leiroc issue
This commit is contained in:
7
push
7
push
@@ -23,10 +23,11 @@ if git -C "$gh_pages_dir" commit -m "$(git log -1 --format="%H")"; then
|
||||
fi
|
||||
|
||||
# GitLab pages
|
||||
gl_pages_dir=out/gl-pages
|
||||
out_dir=out/
|
||||
gl_pages_dir="${out_dir}/gl-pages"
|
||||
if [ ! -d "$gl_pages_dir" ]; then
|
||||
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"
|
||||
mkdir -p "${out_dir}"
|
||||
git clone --branch gl-pages --depth 1 git@gitlab.com:cirosantilli/china-dictatorship.git "$gl_pages_dir"
|
||||
fi
|
||||
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}"
|
||||
|
||||
Reference in New Issue
Block a user