Skip to content

Commit

Permalink
πŸ”– Updated GitHub ref property within docs sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs committed Mar 10, 2024
1 parent 1e3bbf2 commit 97f91ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ tags.forEach(async tag => {
owner: process.env.GITHUB_OWNER ?? '',
repo: process.env.GITHUB_REPO ?? '',
path: `posts/${tag}/metadata.json`,
ref: 'main',
}
)

Expand All @@ -164,6 +165,7 @@ tags.forEach(async tag => {
repo: process.env.GITHUB_REPO ?? '',
path: `posts/${tag}/metadata.json`,
message: 'πŸ“ƒ Update metadata.json',
ref: 'main',
content: Buffer.from(JSON.stringify(metadataObject, null, 2)).toString(
'base64'
),
Expand Down

0 comments on commit 97f91ef

Please sign in to comment.