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

rename to github-pages

This commit is contained in:
Nebel 2020-02-09 00:16:12 +09:00
parent 0d2551caa1
commit 3172baa3e3

View file

@ -1,4 +1,4 @@
name: docs name: github-pages
on: on:
push: push:
branches: [master] branches: [master]
@ -18,7 +18,7 @@ jobs:
- run: yarn - run: yarn
- run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc
- run: git add -f 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 github-pages
- 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 }}" }
- run: git subtree push --prefix docs github gh-pages - run: git subtree push -f --prefix docs github gh-pages