diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3e810e0..460bcc7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,6 @@ jobs: - run: NEXT_ASSET_PREFIX=/${GITHUB_REPOSITORY#*/} yarn doc - run: git add docs - run: git -c user.name=bot -c user.email=octocat@github.com commit -m docs - - run: git remote add github "https://:${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 }}" } - run: git push github HEAD:${GITHUB_REF}