mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
update docs action
This commit is contained in:
parent
ca7ee4f617
commit
a8cdaa61e8
1 changed files with 2 additions and 3 deletions
5
.github/workflows/docs.yml
vendored
5
.github/workflows/docs.yml
vendored
|
@ -8,10 +8,9 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
with: { node-version: 12 }
|
||||
- run: yarn
|
||||
- run: yarn doc
|
||||
- run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc
|
||||
- run: git add docs
|
||||
- run: git commit -m docs
|
||||
env: { EMAIL: octocat@github.com }
|
||||
- run: git -c user.name=octocat -c user.email=octocat@github.com commit -m docs
|
||||
- run: git remote set-url github "https://${NAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
|
||||
env:
|
||||
NAME: octocat
|
||||
|
|
Loading…
Add table
Reference in a new issue