From 505110527986e8c3d30694488f643d6529d0d593 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Thu, 23 Jul 2020 12:10:40 +0900 Subject: [PATCH] docs: change master branch to default-branch (#408) --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index ca74dbdf5..d12028423 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ All Actions runners: Linux (Ubuntu), macOS, and Windows are supported. ### ⭐️ Repository type - Project -Add your workflow file `.github/workflows/gh-pages.yml` and push to the remote master branch. +Add your workflow file `.github/workflows/gh-pages.yml` and push to the remote default branch branch. An example workflow for Hugo. @@ -127,7 +127,7 @@ name: github pages on: push: branches: - - master + - default-branch jobs: deploy: @@ -446,7 +446,7 @@ name: github pages on: push: branches: - - master + - default-branch tags: - 'v*.*.*' @@ -478,7 +478,7 @@ jobs: Commands on a local machine. ```console -$ # On the master branch +$ # On a default-branch branch $ git tag -a "v1.2.3" -m "Release v1.2.3" $ git push origin "v1.2.3" @@ -486,7 +486,7 @@ $ # After deployment $ git fetch origin $ git tag deploy-v1.2.3 # Tag on the gh-pages branch -v1.2.3 # Tag on the master branch +v1.2.3 # Tag on the default-branch branch ```