Additional base path suffix #12

Closed
opened 2025-12-04 23:06:31 +01:00 by leon · 2 comments
Owner

There should be an option to "ask" for an additional base path suffix in order to differentiate between multiple deployments from the same project.

An example would be to request the pull request Id, then the page would be deployed to <owner>.<pages-host>/<repo>/pr-13 (for pull request 13).

This might not be super trivial as nesting the local serve directory might cause collisions with existing assets.

There should be an option to "ask" for an additional base path suffix in order to differentiate between multiple deployments from the same project. An example would be to request the pull request Id, then the page would be deployed to `<owner>.<pages-host>/<repo>/pr-13` (for pull request 13). This might not be super trivial as nesting the local serve directory might cause collisions with existing assets.
Author
Owner

Well, I think implementing a quick check, if the directory already exists, should be sufficient.

However, if the base directory is deleted, all base path suffixes are deleted as well. To prevent this, there must be some way to store which directory is a base path and which is not.

Well, I think implementing a quick check, if the directory already exists, should be sufficient. However, if the base directory is deleted, all base path suffixes are deleted as well. To prevent this, there must be some way to store which directory is a base path and which is not.
Author
Owner

Idea: Store the base page in a seperate directory as well, like __ROOT__. Use this, if no base path is set.

Idea: Store the base page in a seperate directory as well, like `__ROOT__`. Use this, if no base path is set.
leon closed this issue 2025-12-27 18:36:29 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
leon/Forge-Pages#12
No description provided.