fix(ci): resolve Vercel deploy failure caused by empty VERCEL_TOKEN#173
Open
fix(ci): resolve Vercel deploy failure caused by empty VERCEL_TOKEN#173
Conversation
Agent-Logs-Url: https://github.com/Tryonme-com/tryonyou-app/sessions/d22ccf17-c970-45f4-b4d2-d149b6a41c47 Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
…ker-audit-method
…ploy_divineo Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
…vineo (orquestador+tests+docs) Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
- Enhanced .github/workflows/ci.yml: parallel Python tests + Vite build + Vercel deploy on main - Added TypeScript type-check step (tsc --noEmit) to CI - Added src/vite-env.d.ts for Vite client types (import.meta.env, Window augmentation) - Added scripts/deployall.sh: local build+test+deploy pipeline (--dry for skip deploy) - Added npm scripts: typecheck, deployall, deployall:dry All 141 Python tests pass. Vite build + type-check clean. @CertezaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
…zaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
…zaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
…zaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
…zaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
…lready excludes them @CertezaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
… purged) @CertezaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
🥀 Honor Protocol: Goldschmied/Valentino/Ospina. ✨ Status: VIVOS. 🚀 Divineo Absoluto en París. @CertezaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
🥀 Honor Protocol: Goldschmied/Valentino/Ospina. ✨ Status: VIVOS. 🚀 Divineo Absoluto en París. @CertezaAbsoluta @lo+erestu PCT/EP2025/067317 Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
…ial + copy FR traducible + videos venta EUR Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
…a y shell overlay para venta FR/EUR Bajo Protocolo de Soberanía V10 - Founder: Rubén Co-authored-by: Tryonme <LVT-ENG@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Tryonme-com/tryonyou-app/sessions/5c24d097-2c3f-4879-bef1-e33aa8d9d2b6 Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The deploy job was running `vercel pull --token=` with an empty value because the VERCEL_TOKEN secret was not configured. Fix: - Move VERCEL_TOKEN (+ VERCEL_ORG_ID/VERCEL_PROJECT_ID) to job-level env block — the standard Vercel CLI authentication pattern - Remove redundant --token= flags from all vercel commands - Add "Verify Vercel token" pre-check step with a clear error message Agent-Logs-Url: https://github.com/Tryonme-com/tryonyou-app/sessions/c15c7495-1db1-442a-8fba-b61409e3b997 Co-authored-by: LVT-ENG <214667862+LVT-ENG@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issue in help step of workflow
fix(ci): resolve Vercel deploy failure caused by empty VERCEL_TOKEN
Apr 9, 2026
LVT-ENG
approved these changes
Apr 11, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the GitHub Actions production deploy workflow to avoid Vercel CLI failures when VERCEL_TOKEN is missing, and to make token usage less repetitive across steps.
Changes:
- Moves
VERCEL_TOKEN,VERCEL_ORG_ID, andVERCEL_PROJECT_IDto a job-levelenv:block so Vercel CLI can read them implicitly. - Adds an early “Verify Vercel token” step that fails fast with a clear error if
VERCEL_TOKENis unset. - Removes repeated
--token=...flags fromvercel pull/build/deploycommands.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
LVT-ENG
approved these changes
Apr 12, 2026
LVT-ENG
approved these changes
Apr 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Deploy to Vercel (Production)job was failing at "Pull Vercel environment" becauseVERCEL_TOKENwas not configured as a repository secret, causing everyvercelcommand to receive--token=(empty string) and bail with "No existing credentials found."Changes
VERCEL_TOKEN(plusVERCEL_ORG_ID/VERCEL_PROJECT_ID) to a job-levelenv:block; Vercel CLI picks it up automatically, eliminating the repeated--token=${{ secrets.VERCEL_TOKEN }}on every commandvercelinvocation that emits a clear::error::annotation and exits immediately if the secret is absent