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

fix no such remote 'github' error

This commit is contained in:
Nebel 2020-02-08 21:33:33 +09:00
parent a8cdaa61e8
commit f359c63225

View file

@ -11,7 +11,7 @@ jobs:
- run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc
- run: git add docs - run: git add docs
- run: git -c user.name=octocat -c user.email=octocat@github.com commit -m docs - 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" - run: git remote add github "https://${NAME}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
env: env:
NAME: octocat NAME: octocat
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}