Skip to content

Commit

Permalink
Automatic deploy command: 2023-01-30 11:36:13
Browse files Browse the repository at this point in the history
  • Loading branch information
neruthes committed Jan 30, 2023
1 parent 283cc8a commit 020b690
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .deploydatemark
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023-01-30T11:05:35+00:00
2023-01-30T11:36:12+00:00
7 changes: 5 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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..."
Expand Down
1 change: 1 addition & 0 deletions wwwsrc/.var/articles-split/list002.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
2022-12-21.0.pdf
2022-12-25.0.pdf
2023-01-02.0.pdf
2023-01-30.0.pdf

1 comment on commit 020b690

@vercel
Copy link

@vercel vercel bot commented on 020b690 Jan 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

homepage-gen3 – ./

homepage-gen3-neruthes.vercel.app
homepage-gen3-git-master-neruthes.vercel.app
neruthes.vercel.app

Please sign in to comment.