diff options
| author | Addy Osmani <addyosmani@gmail.com> | 2026-11-18 12:04:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-18 12:04:24 -0800 |
| commit | 9a69de588142a63c726b347d31a918d415a91fce (patch) | |
| tree | 001a756ac800ca7b5e854826b7c18f7f7f55e703 | |
| parent | 39b723ceebf81474d0557c1fecd01eddab585563 (diff) | |
| parent | f7647ae098acbf3d158626f2dbb8f152dd8232ec (diff) | |
Merge #799: give the rollback workflow a Vercel token
fix(ci-cd-and-automation): give the rollback workflow a Vercel token
| -rw-r--r-- | skills/ci-cd-and-automation/SKILL.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/skills/ci-cd-and-automation/SKILL.md b/skills/ci-cd-and-automation/SKILL.md index 531bb8f..c4c5678 100644 --- a/skills/ci-cd-and-automation/SKILL.md +++ b/skills/ci-cd-and-automation/SKILL.md @@ -265,10 +265,12 @@ jobs: - name: Rollback deployment env: VERSION: ${{ inputs.version }} + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | # Deploy the specified previous version. Pass the input through env, - # never interpolate it into the script (shell injection). - npx vercel rollback "$VERSION" + # never interpolate it into the script (shell injection). The runner + # has no Vercel login, so the CLI needs the token explicitly. + npx vercel rollback "$VERSION" --token "$VERCEL_TOKEN" --yes ``` ## Environment Management |
