Skip to content

Commit ad7c7ab

Browse files
committed
Buildkite: Fix daily update git push
1 parent f31273e commit ad7c7ab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/update-pins.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ in
2222
2323
use_ssh_key ${sshKey}
2424
25-
git push ${repo}
25+
if [ "$BUILDKITE_BRANCH" = master ]; then
26+
git push ${repo} HEAD:master
27+
fi
2628
''

0 commit comments

Comments
 (0)