Skip to content

Commit 5700634

Browse files
committed
Update deploy test
Don't assume a branch name, but use the current branch. This is added so the tests running in GitHub Actions don't break, as the git on there still uses "master" as the default branch after "git init".
1 parent a88cd06 commit 5700634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/deploy.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ load test_helper
55
@test "Run deploy" {
66
pbb init 'Testblog'
77
pbb build
8-
git push --set-upstream origin main
8+
git push --set-upstream origin "$(git branch --show-current)"
99
run pbb deploy
1010

1111
echo "$output"

0 commit comments

Comments
 (0)