codedamn

Vercel Deployment : Part - 2

Created by Codedamn about a year ago

0

No description provided

4 Comments

    0

    Hello Mehul sir I have logged in my vercel account with GitHub and there is no token given to my what should I do?

    @mohammadafnan

    Mohammad Afnan

    @mohammadafnan

    0

    in my case, I don't have to do that additional stuff

    @shreyas

    Shreyas Bole

    @shreyas

    0

    As an alternative to global install of Vercel CLI in previous video (Vercel Deployment : Part - 1), you can install it in the project folder instead and run it from there (w/ npm):

    $ npm i vercel --save-dev

    $ /c/myProjectPath/github-actions-ci-cd/node_modules/.bin/vercel login

    $ /c/myProjectPath/github-actions-ci-cd/node_modules/.bin/vercel ./build

    JSON

    "scripts": {

    "deploy": "/home/runner/work/codedamn-github-actions/node_modules/.bin/vercel ./build --prod --confirm --token=MYFAKETOKENNZ48XVarfhRKyg123"
    

    },

    NOTE: You can determine the local install or remote server (GitHub ACTIONS) path of node_modules/VERCEL CLI using YML:

      - name: List node_modules path in project
        run: npm root
    
    @christ0s

    christos

    @christ0s

    0

    done

    @nishitbaria

    Nishit Bariya

    @nishitbaria

Your comment