From 55e54e9154822ed88a80f1bc523f95c4e4e6acd7 Mon Sep 17 00:00:00 2001 From: Germey Date: Sat, 10 Aug 2024 01:34:09 +0800 Subject: [PATCH] Update publish.yaml --- .github/workflows/publish.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 531d93fb..c98ac6fd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,8 +37,10 @@ jobs: run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git - + git remote set-url origin "https://$REPO_PAT@github.com/AceDataCloud/Nexior" + env: + REPO_PAT: ${{ secrets.REPO_PAT }} + - name: Publish run: yarn release env: