function isUpdateInProgress
isUpdateInProgress(): boolean

Check if an update is in progress: UPDATE_IN_PROGRESS is set non-empty. The deploy workflows set it around a site code update, and every write refuses while it is set.

Return Type

boolean

Usage

import { isUpdateInProgress } from "doc.ts";