Skip to content

Commit 51b633a

Browse files
authored
Merge pull request #104 from input-output-hk/rvl/fix-daily-update
Buildkite: Fix daily update git push
2 parents f31273e + ad7c7ab commit 51b633a

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)