diff --git a/.github/workflows/package-and-publish.yml b/.github/workflows/package-and-publish.yml index dc83ac764..7ec632a5f 100644 --- a/.github/workflows/package-and-publish.yml +++ b/.github/workflows/package-and-publish.yml @@ -212,7 +212,7 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} - GITHUB_TOKEN: ${{ env.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} BASE_URL: ${{ vars.BASE_URL }} TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.UPDATER_PRIVATE_KEY }} TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.UPDATER_PRIVATE_KEY_PASSWORD }} diff --git a/docs/TAURI.md b/docs/TAURI.md index 42cc1b62c..31b253948 100644 --- a/docs/TAURI.md +++ b/docs/TAURI.md @@ -137,7 +137,7 @@ The build and release process for a Tauri application is managed using a GitHub | **Secret Name** | **Description** | |------------------|--------------------------------------------------------------------------------------| -| `GH_TOKEN_TAURI` | GitHub access token with `repo` scope/permission, required to publish new releases. | +| `GH_TOKEN` | GitHub access token with `repo` scope/permission, required to publish new releases. | --- @@ -145,7 +145,7 @@ The build and release process for a Tauri application is managed using a GitHub | **Secret Name** | **Description** | |-----------------------|-------------------------------------------------------------------------------------------------------------------------| -| `UPDATER_GIST_URL` | URL to GitHub gist (e.g., `https://gist.githubusercontent.com/GitHubUser/GistID/raw/updater.json`). Ensure `GH_TOKEN_TAURI` has read/write access. | +| `UPDATER_GIST_URL` | URL to GitHub gist (e.g., `https://gist.githubusercontent.com/GitHubUser/GistID/raw/updater.json`). Ensure `GH_TOKEN` has read/write access. | | `UPDATER_GIST_ID` | GitHub gist ID (`GistID` from `UPDATER_GIST_URL` example). | | `UPDATER_PUBLIC_KEY` | Public key to validate artifacts before installation. [More info](https://tauri.app/plugin/updater/#signing-updates). | | `UPDATER_PRIVATE_KEY` | Private key used to sign installer files (generated with the same command as public key). |