Closed alex-hedley closed 1 year ago
github.event.repository.default_branch
$default-branch
The branch name is irrelevant here since it's built inside the Docker container and not in the git that is cloned from Github.
I've updated the script to get the branch name in case it's defaulting to main
. Please provide more details if you're having issues with the build.
switch
master
tomain
?https://github.com/yurikoval/middleman-gh-pages-action/blob/fc1652b308bdb97b8412d0dd02b67b7c4def0884/entrypoint.sh#L26-L27