From 99e7c5b1f45ced855c4458e11b99084e7b05da55 Mon Sep 17 00:00:00 2001 From: Germey Date: Mon, 5 Aug 2024 01:22:42 +0800 Subject: [PATCH] Update publish.yaml --- .github/workflows/publish.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 66de102a..531d93fb 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -37,9 +37,7 @@ jobs: run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' - git remote set-url origin "https://$REPO_PAT@github.com/AceDataCloud/Nexior" - env: - REPO_PAT: ${{ secrets.REPO_PAT }} + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git - name: Publish run: yarn release