mirror of https://github.com/istio/istio.io.git
More archive fixes.
This commit is contained in:
parent
d5013d3cd3
commit
9918cc6c96
3
Makefile
3
Makefile
|
|
@ -44,4 +44,7 @@ netlify: install
|
||||||
netlify_archive:
|
netlify_archive:
|
||||||
@scripts/gen_archive_site.sh "$(baseurl)"
|
@scripts/gen_archive_site.sh "$(baseurl)"
|
||||||
|
|
||||||
|
archive:
|
||||||
|
@$(docker) scripts/gen_archive_site.sh "$(baseurl)"
|
||||||
|
|
||||||
include Makefile.common.mk
|
include Makefile.common.mk
|
||||||
|
|
|
||||||
|
|
@ -69,12 +69,15 @@ done
|
||||||
echo "### Building landing page"
|
echo "### Building landing page"
|
||||||
git clean -f
|
git clean -f
|
||||||
git checkout master
|
git checkout master
|
||||||
|
rm -fr content/about content/docs content/faq content/blog content_zh
|
||||||
|
|
||||||
# Grab the state
|
# Grab the state
|
||||||
cp ${TMP}/archives.yml data
|
cp ${TMP}/archives.yml data
|
||||||
|
|
||||||
# Adjust a few things for archive_landing
|
# Adjust a few things for archive_landing
|
||||||
rm -fr static/talks
|
rm -fr static/talks
|
||||||
|
sed -e 's/preliminary: true/preliminary: false/g' -i "" data/args.yml
|
||||||
|
sed -e 's/archive_landing: false/archive_landing: true/g' -i "" data/args.yml
|
||||||
|
|
||||||
scripts/build_site.sh
|
scripts/build_site.sh
|
||||||
scripts/gen_site.sh "https://archive.istio.io"
|
scripts/gen_site.sh "https://archive.istio.io"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue