Next.js Discord

Discord Forum

gitlab vercel cli auto-alias

Unanswered
Sweat bee posted this in #help-forum
Open in Discord
Sweat beeOP
hey, I altered the auto-alias in my gitlab ci as follows:

    - url=$(vercel deploy --prebuilt --token=$VERCEL_TOKEN --local-config vercel-storybook.json)
    - sanitized_branch=storybook-$(echo ${CI_COMMIT_BRANCH} | sed -e 's/feature\///' -e 's/_/-/g')-brandung-sandbox.vercel.app
    - vercel alias set "$url" "$sanitized_branch" --token=$VERCEL_TOKEN --scope brandung-sandbox

Yet I have the auto-alias assigned from vercel itself on the last deployment, so I have two aliase on it. But I only want my own.. any idea how I can stop vercel auto aliasing?

0 Replies