From 559b3a10641e57be279b016520203c521d137323 Mon Sep 17 00:00:00 2001 From: ebenali Date: Mon, 15 Jan 2024 16:26:05 -0800 Subject: [PATCH] gh use x-access-tok --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d688d1..40d94e8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,7 @@ jobs: - run: corepack enable - run: git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" && git config --global user.name "$GITHUB_ACTOR" - run: yarn version patch - - run: git push --tags && git push - - run: yarn publish + - run: git push --tags https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/MoreChickenDelivered/md-loader.git + - run: git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/MoreChickenDelivered/md-loader.git - run: yarn npm publish \ No newline at end of file