This repository includes a GitHub Actions workflow that deploys a live preview of the CETEIcean-based HTML rendering to a WebDAV endpoint.
The workflow makes the most recent version of the CETEIcean-based transformation layer available as a static preview, linked in the oXygen framework.
Running the preview on WebDAV has the advantage that all files are served from the same origin and no CORS issues occur.
In contrast to this, developing the preview code is much more ergonomically here than directly on WebDAV.
-
Triggered on every push and via manual execution (
workflow_dispatch) -
Checks for changes in:
src/lib/CETEIcean -
If no changes are detected, the workflow exits without performing any deployment
-
If changes are detected:
-
Synchronizes the directory contents to the WebDAV target:
preview/ -
Logs all synchronised changes at:
preview/logs
-
The workflow requires the following repository secrets:
WEBDAV_URLWEBDAV_USERNAMEWEBDAV_PASSWORD
- File synchronization is performed using
rclonewith WebDAV support - The target directory is kept in sync (including deletions)
- The update log provides a minimal audit trail of preview deployments