mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
ci: Set default branch to main (#424)
git config --global init.defaultBranch main https://github.blog/2020-07-27-highlights-from-git-2-28/
This commit is contained in:
parent
2392f69e4d
commit
4cf5105929
@ -33,6 +33,8 @@ ENV GITHUB_REPOSITORY_OWNER="peaceiris"
|
|||||||
ENV GITHUB_ACTIONS="true"
|
ENV GITHUB_ACTIONS="true"
|
||||||
ENV CI="true"
|
ENV CI="true"
|
||||||
|
|
||||||
|
RUN git config --global init.defaultBranch main
|
||||||
|
|
||||||
WORKDIR /repo
|
WORKDIR /repo
|
||||||
|
|
||||||
CMD [ "bash" ]
|
CMD [ "bash" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user