From 97f91efb97a8b3950c8990b0816f8d3924e22cb1 Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Fashola Date: Sun, 10 Mar 2024 17:56:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=20Updated=20GitHub=20`ref`=20prope?= =?UTF-8?q?rty=20within=20docs=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/generate-metadata.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/generate-metadata.ts b/scripts/generate-metadata.ts index 15cc595..7654d90 100644 --- a/scripts/generate-metadata.ts +++ b/scripts/generate-metadata.ts @@ -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', } ) @@ -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' ),