From 3172baa3e3996368bb849c292471657d7a261b73 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 9 Feb 2020 00:16:12 +0900 Subject: [PATCH] rename to github-pages --- .github/workflows/docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3390c70..445dba6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,4 +1,4 @@ -name: docs +name: github-pages on: push: branches: [master] @@ -18,7 +18,7 @@ jobs: - run: yarn - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - run: git add -f docs - - run: git -c user.name=bot -c user.email=octocat@github.com commit -m docs + - run: git -c user.name=bot -c user.email=octocat@github.com commit -m github-pages - run: git remote add github "https://github:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" } - - run: git subtree push --prefix docs github gh-pages + - run: git subtree push -f --prefix docs github gh-pages