1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00

use git add -f

This commit is contained in:
Nebel 2020-02-08 23:00:29 +09:00
parent df60e2175e
commit ef286ecc7d

View file

@ -15,7 +15,7 @@ jobs:
with: { node-version: 12 } with: { node-version: 12 }
- run: yarn - run: yarn
- run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - 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 -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" - run: git remote add github "https://github:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" } env: { GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" }