Skip to content

Commit

Permalink
Specify GH storage path, generify upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley authored Oct 30, 2024
1 parent 5a03df3 commit 39ec60c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _cms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ cms.storage(
owner: "juliecogley",
repo: "julie_portfolio",
branch: "main",
path: "src",
}),
);

// Configure an upload folder
cms.upload("assets", "gh:/src/assets", "/assets");
cms.upload("assets", "gh:assets");

// Pages collection
cms.collection(
Expand Down

0 comments on commit 39ec60c

Please sign in to comment.