Skip to content

Commit d28e465

Browse files
committed
ci: use a credential file
1 parent 5cf84c3 commit d28e465

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/snapshots.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ export default function(opts: SnapshotsOptions, logger: logging.Logger) {
106106

107107
if (githubToken) {
108108
_exec('git', ['config', 'commit.gpgSign', 'false'], { cwd: destPath }, publishLogger);
109-
_exec('git', ['config', 'credential.helper', 'store'], { cwd: destPath }, publishLogger);
109+
_exec('git', ['config', 'credential.helper', `store --file="${gitCredentials}"`],
110+
{ cwd: destPath }, publishLogger);
110111
}
111112

112113
// Make sure that every snapshots is unique.

0 commit comments

Comments
 (0)