[GRASS-git] [OSGeo/grass-addons] 85d1e0: Deploy website from the CI-built release artifact ...

Corey White noreply at github.com
Wed Jul 15 07:47:35 PDT 2026


  Branch: refs/heads/grass8
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 85d1e0f8872afbe2d372209e902e3c9dff68a4b3
      https://github.com/OSGeo/grass-addons/commit/85d1e0f8872afbe2d372209e902e3c9dff68a4b3
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M utils/cronjobs_osgeo_lxd/README.md
    M utils/cronjobs_osgeo_lxd/hugo_clean_and_update_job.sh

  Log Message:
  -----------
  Deploy website from the CI-built release artifact (#1783)

* Deploy website from the CI-built release artifact instead of building on the server

The Bootstrap 5 / Dart Sass migration (grass-website#600) changed the
website build requirements to Hugo Extended + npm + Dart Sass, which the
grasslxd container does not have. Instead of installing that toolchain on the
server, GitHub Actions now builds the site on every push to master and
publishes it as a checksummed tarball on the rolling "production" release
(grass-website#635).

Rework hugo_clean_and_update_job.sh to download that tarball, verify its
SHA256 checksum, and rsync it into /var/www/html/. The filename, schedule,
code_and_data symlink handling, and fix_link_timestamp logic are unchanged;
the script now needs only curl, tar, sha256sum, and rsync, and no GitHub
token. A checksum marker makes unchanged runs a cheap no-op, and any failed
step aborts before rsync so the live site is never left broken.

* cronjobs: download the website from the 'latest' release

grass-website now publishes a per-deploy versioned release and marks the
newest one 'latest' instead of overwriting a single rolling release
(OSGeo/grass-website#646). Point the deploy job at
releases/latest/download so it always fetches the current build, and
document that a rollback is done by marking an older release as latest.

* Update utils/cronjobs_osgeo_lxd/hugo_clean_and_update_job.sh

Co-authored-by: Markus Neteler <markus at neteler.org>

---------

Co-authored-by: Markus Neteler <markus at neteler.org>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-addons/settings/notifications


More information about the grass-commit mailing list