diff --git a/.github/workflows/build-openwrt.yml b/.github/workflows/build-openwrt.yml index bbfb038..9271b68 100644 --- a/.github/workflows/build-openwrt.yml +++ b/.github/workflows/build-openwrt.yml @@ -195,7 +195,7 @@ jobs: - name: Upload bin directory to GitHub if: steps.compile.outputs.status == 'success' && env.UPLOAD_BIN_TO_GITHUB == 'true' env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.TOKEN }} run: | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" @@ -207,7 +207,7 @@ jobs: cd .. git add . git commit -m "update$(TZ='Asia/Shanghai' date +@%Y%m%d)" - git push --quiet "https://${{ secrets.GITHUB_TOKEN }}@github.com/MiRouter/OpenWrtForMiWiFi" HEAD:main + git push --quiet "https://${{ secrets.TOKEN }}@github.com/MiRouter/OpenWrtForMiWiFi" HEAD:main - name: Organize files id: organize