1
0
Fork
You've already forked brut
0

Replace process.cwd by path #5

Merged
robinmetral merged 5 commits from fix-paths into main 2021年11月14日 11:40:39 +01:00
robinmetral commented 2021年11月14日 11:05:27 +01:00 (Migrated from github.com)
Copy link

Cloudflare pages isn't running the buildPage script, it might be because it's not finding the path using process.cwd—will try things out here

Cloudflare pages isn't running the `buildPage` script, it might be because it's not finding the path using `process.cwd`—will try things out here
robinmetral commented 2021年11月14日 11:40:35 +01:00 (Migrated from github.com)
Copy link

Merging to test on Cloudflare directly. Will continue debugging in a follow-up PR with a preview deployment.

Merging to test on Cloudflare directly. Will continue debugging in a follow-up PR with a preview deployment.
robinmetral commented 2021年11月14日 16:12:56 +01:00 (Migrated from github.com)
Copy link

Update: a lot on console.logs and 5 minors later, this was solved.

The issue is that the other website's build script wasn't found because it wasn't compiled from TS to JS in the CI.

To prevent this in the future, we could add a --verbose option that prints info such as "No build script found for page.html"

Update: a lot on console.logs and 5 minors later, this was solved. The issue is that the other website's build script wasn't found because it wasn't compiled from TS to JS in the CI. To prevent this in the future, we could add a `--verbose` option that prints info such as "No build script found for page.html"
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
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
robinmetral/brut!5
Reference in a new issue
robinmetral/brut
No description provided.
Delete branch "fix-paths"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?