From ef286ecc7db4a17170d1ed253972c3e60f2c7007 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 8 Feb 2020 23:00:29 +0900 Subject: [PATCH] use git add -f --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7733be3..ca56424 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: with: { node-version: 12 } - run: yarn - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - - run: git add docs + - run: git add -f docs - run: git -c user.name=bot -c user.email=octocat@github.com commit -m docs - run: git remote add github "https://github:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }