diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4b9f95a..278f754 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - run: git add 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: NAME: octocat GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}