Skip to content

feat: export the custom maintenance page#290

Merged
josegonzalez merged 1 commit into
mainfrom
284-export-export-the-custom-maintenance-page
Jul 7, 2026
Merged

feat: export the custom maintenance page#290
josegonzalez merged 1 commit into
mainfrom
284-export-export-the-custom-maintenance-page

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

The dokku-maintenance plugin exposes only a custom-page-sha256 checksum and never the page HTML, so the content cannot be read back from the server. Export now detects that a custom page is set and emits dokku_maintenance_custom_page with its content lifted into the companion vars-file as a required input the user supplies before applying, mirroring how http-auth passwords are handled.

Because the page is public HTML rather than a secret, the lifted input is required but not marked sensitive. Multi-file tarball pages collapse to the single content input, so extra assets are not captured; a faithful export awaits an upstream export command in dokku/dokku-maintenance#28.

Closes #284.

The dokku-maintenance plugin exposes only a `custom-page-sha256` checksum and never the page HTML, so the content cannot be read back from the server. Export now detects that a custom page is set and emits `dokku_maintenance_custom_page` with its content lifted into the companion vars-file as a required input the user supplies before applying, mirroring how http-auth passwords are handled.
@josegonzalez josegonzalez merged commit dd40092 into main Jul 7, 2026
14 checks passed
@josegonzalez josegonzalez deleted the 284-export-export-the-custom-maintenance-page branch July 7, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

export: export the custom maintenance page

1 participant