Skip to content

Commit

Permalink
Use HEAD as branch name, as this is whatever the user has chosen as t…
Browse files Browse the repository at this point in the history
…heir default branch in GH
  • Loading branch information
oleeskild committed Oct 12, 2023
1 parent 7d6b821 commit e957260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/publisher/PublishStatusManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default class PublishStatusManager implements IPublishStatusManager {
const changedNotes: Array<CompiledPublishFile> = [];

const contentTree =
await this.siteManager.userGardenConnection.getContent("main");
await this.siteManager.userGardenConnection.getContent("HEAD");

if (!contentTree) {
throw new Error("Could not get content tree from base garden");
Expand Down

0 comments on commit e957260

Please sign in to comment.