From db0cb12740a6e6caf50c82ffbe9293b3a0622200 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sun, 9 Feb 2020 00:57:59 +0900 Subject: [PATCH] fix push error --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index acad39c..a220df7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,6 +16,7 @@ jobs: - uses: actions/setup-node@v1 with: { node-version: 12 } - run: yarn + - run: git subtree add --prefix docs gh-pages - 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 github-pages