Skip to content

github action now deployment with --scope still asks for scope #4015

Discussion options

You must be logged in to vote

Got it by following what's shown on this article

I previously had it like so

    steps:
      - uses: actions/checkout@v1 # Get last commit pushed
      - name: Deploying on Zeit
        run: NOW_ORG_ID=$ORG NOW_PROJECT_ID=$PROJET yarn client:deploy:dev --scope iamdevlinph --token $ZEIT_TOKEN
        env:
          ZEIT_TOKEN: ${{ secrets.ZEIT_TOKEN }} # Passing github's secret to the worker
          ORG: ${{ secrets.ORG_ID }}
          PROJECT: ${{ secrets.PROJECT_ID }}

But it's complaining that the projectId is not found or something. So I just copied the one from the article.

    steps:
      - uses: actions/checkout@v2
      - uses: amondnet/now-deployment@v2
        with:
         …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@iamdevlinph
Comment options

@iamdevlinph
Comment options

@iamdevlinph
Comment options

@paulogdm
Comment options

@chabou
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by iamdevlinph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants