From 5fb10fcec3a719f6fb34e0a433d3a33a5f660897 Mon Sep 17 00:00:00 2001 From: Daniel Oakman <141111365+danoaky-tiny@users.noreply.github.com> Date: Tue, 30 Apr 2024 06:14:59 +1000 Subject: [PATCH 1/2] Use `tinyGit.withGitHubSSHCredentials` for storybook deployment --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index bc8ace22..e5710be6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,7 +23,7 @@ mixedBeehiveFlow( stage("storybook") { def status = beehiveFlowStatus() if (status.branchState == 'releaseReady' && status.isLatest) { - sshagent (credentials: ['3e856116-029e-4c8d-b57d-593b2fba3cb2']) { + tinyGit.withGitHubSSHCredentials { exec('yarn deploy-storybook') } } else { From f742d4fe4cd9748b98a2d3b981987efff1e6aa12 Mon Sep 17 00:00:00 2001 From: Daniel Oakman <141111365+danoaky-tiny@users.noreply.github.com> Date: Tue, 30 Apr 2024 06:16:33 +1000 Subject: [PATCH 2/2] Changed stage name to match tinymce-react's `Jenkinsfile` --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e5710be6..8ea94b50 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,7 +20,7 @@ mixedBeehiveFlow( resourceLimitMemory: '4Gi' ], customSteps: { - stage("storybook") { + stage("update storybook") { def status = beehiveFlowStatus() if (status.branchState == 'releaseReady' && status.isLatest) { tinyGit.withGitHubSSHCredentials {