diff --git a/.deploydatemark b/.deploydatemark index 532b585..b88ba3a 100644 --- a/.deploydatemark +++ b/.deploydatemark @@ -1 +1 @@ -2023-01-30T11:05:35+00:00 +2023-01-30T11:36:12+00:00 diff --git a/build.sh b/build.sh index bb9bd80..19ae923 100755 --- a/build.sh +++ b/build.sh @@ -105,6 +105,9 @@ case $1 in pdftoppm "$1" ".tmp1/split-img/$OUTFN" -png -r 300 -gray du -h "$(realpath ".tmp1/split-img/$OUTFN-1.png")" ;; + _cf) + wrangler pages publish wwwdist --project-name=neruthes --commit-dirty=true --branch=master + ;; _rclone) proxychains -q rclone sync -P -L pkgdist dropbox-main:devdistpub/homepage-gen3/pkgdist ;; @@ -138,7 +141,7 @@ case $1 in rsync -a --delete wwwsrc/ wwwdist/ # Initialize rm -rf wwwdist/texassets/ # Clear texassets in wwwdist rsync -a --delete .texassets/ wwwdist/texassets/ # Reload from latest texassets - rsync -a _dist/ wwwdist/ --exclude .tmp # Copy PDF into wwwdist + rsync -a _dist/ wwwdist/ --exclude .tmp --exclude .tmp1 # Copy PDF into wwwdist make_indexhtml_for_dirs # Create 'index.html' for dirs which do not already have one sed "s|BUILDDATETIME|$(TZ=UTC date +%F)|" wwwsrc/index.html > wwwdist/index.html generate_sitemap_xml @@ -198,7 +201,7 @@ case $1 in ;; full|''|.) echo "[INFO] Staring a full build-deloy workflow..." - bash build.sh prepare latex_other _texassets wwwdist tarball upload || die "[ERROR] OSS upload failed. Cannot proceed." + bash build.sh prepare latex_articles latex_other _texassets wwwdist tarball upload || die "[ERROR] OSS upload failed. Cannot proceed." #--------------------------- WAIT_TIME=10 echo "[INFO] Wait ${WAIT_TIME}s before initiating cloud-deploy, allowing Cloudflare R2 to purge the old tarball..." diff --git a/wwwsrc/.var/articles-split/list002.txt b/wwwsrc/.var/articles-split/list002.txt index 2d8c2fe..a1aa064 100644 --- a/wwwsrc/.var/articles-split/list002.txt +++ b/wwwsrc/.var/articles-split/list002.txt @@ -3,3 +3,4 @@ 2022-12-21.0.pdf 2022-12-25.0.pdf 2023-01-02.0.pdf +2023-01-30.0.pdf