Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successfully deployed but still asked for re-authenticate #265

Open
qixing-jk opened this issue Feb 2, 2025 · 2 comments
Open

Successfully deployed but still asked for re-authenticate #265

qixing-jk opened this issue Feb 2, 2025 · 2 comments

Comments

@qixing-jk
Copy link

With the following configuration, everything can be deployed normally through CI but will be asked to re-authenticate later, causing the subsequent process to fail

      - name: Vercel Action
        id: vercel_action
        env:
          VERCEL_ARGS: ${{ github.ref == 'refs/heads/heo' && '--prod'|| '' }}
        uses: amondnet/vercel-action@v25.2.0
        with:
          vercel-args: ${{ env.VERCEL_ARGS }}
          vercel-token: ${{ secrets.VERCEL_TOKEN }}
          github-token: ${{ secrets.GITHUB_TOKEN }}
          vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
          alias-domains: ${{ secrets.PROJECT_NAME}}-git-{{ BRANCH }}-${{ secrets.TEAM_NAME}}.vercel.app
          vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
          scope: ${{ secrets.VERCEL_SCOPE }}

GitHub Actions Log

Deploying small-qihang-hot/***
Deploying small-qihang-hot/***
Inspect: https://vercel.com/***/***/BiUdHZfrm5GzN9nsUsuPajB4nTYA [3s]
Inspect: https://vercel.com/***/***/BiUdHZfrm5GzN9nsUsuPajB4nTYA [3s]
Queued
Queued
https://***-n9zsq3oct-***.vercel.app
https://***-n9zsq3oct-***.vercel.appBuilding
Building
Completing
Completing
> You must re-authenticate to use small-qihang-hot scope.
> You must re-authenticate to use small-qihang-hot scope.
> Log in to Vercel (Use arrow keys)
❯ Continue with GitHub 
  Continue with GitLab 
  Continue with Bitbucket 
  Continue with Email 
  ───────────────────────
  Abort 
> Log in to Vercel (Use arrow keys)
❯ Continue with GitHub 
  Continue with GitLab 
  Continue with Bitbucket 
  Continue with Email 
  ───────────────────────
  Abort 
@Withoutbytes
Copy link

Same error

@Withoutbytes
Copy link

  - name: Deploy para Vercel
    uses: amondnet/vercel-action@v25
    with:
      vercel-token: ${{ secrets.VERCEL_TOKEN }}
      github-token: ${{ secrets.GITHUB_TOKEN }}
      vercel-args: "--prod"
      vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
      vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
      scope: ${{ secrets.VERCEL_SCOPE }}
    timeout-minutes: 6

I think this is the solution VERCEL_TEAM_SLUT -> VERCEL_SCOPE

And timeout for while this is not fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants