From aa28995c47feb0e76ea8a368eec46d78bd6294f2 Mon Sep 17 00:00:00 2001 From: "erique.rocha" Date: Tue, 14 Oct 2025 13:39:54 -0300 Subject: [PATCH] adjustment wf 3 --- .github/workflows/publish-deb-apt.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-deb-apt.yml b/.github/workflows/publish-deb-apt.yml index 12c12e6..7ba594e 100644 --- a/.github/workflows/publish-deb-apt.yml +++ b/.github/workflows/publish-deb-apt.yml @@ -37,12 +37,12 @@ jobs: - name: Baixar artifact via API (somente workflow_run) if: ${{ github.event_name == 'workflow_run' }} env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | set -e ART_ID="${{ steps.get-artifacts.outputs.artifact_id }}" mkdir -p _artifact && cd _artifact - curl -L -H "Authorization: Bearer $GITHUB_TOKEN" \ + curl -L -H "Authorization: Bearer $GH_TOKEN" \ -H "Accept: application/vnd.github+json" \ -o artifact.zip \ "https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/artifacts/${ART_ID}/zip" @@ -108,7 +108,7 @@ jobs: - name: Deploy to gh-pages uses: peaceiris/actions-gh-pages@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_TOKEN }} publish_branch: gh-pages publish_dir: repo keep_files: true