Skip to content

Commit a08ebde

Browse files
committed
stick with out dir for now
1 parent 6178fcc commit a08ebde

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
with:
3232
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3333
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
34-
command: pages deploy build/client --project-name=rescript-lang-org
34+
command: pages deploy out --project-name=rescript-lang-org
3535
# Optional: Enable this if you want to have GitHub Deployments triggered
3636
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

react-router.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@ export default {
2323
...stdlibPaths,
2424
];
2525
},
26+
buildEnd: async () => {
27+
fs.cpSync("./build/client", "./out", { recursive: true });
28+
},
2629
};

0 commit comments

Comments
 (0)