actions-netlify icon indicating copy to clipboard operation
actions-netlify copied to clipboard

Bad credentials

Open cheesytim opened this issue 2 years ago • 0 comments

Hi there! The preview deploy has done and works, but I got a error with credentials, I thought fails-without-credentials: false flag will help me, but..

Screenshot 2021-07-08 at 10 43 16

config:

on:
  pull_request:
    branches: 
      - main
    tags-ignore:
      - 'v*.*'

jobs:
  build:
    runs-on: ubuntu-18.04
    steps:
      ...build script

      - name: Deploy to Netlify
        uses: nwtgck/[email protected]
        if: startsWith(github.head_ref, 'dependabot/*') == false
        with:
          publish-dir: 'storybook-static'
          production-branch: main
          github-token: Qvant-lab:${{ secrets.GITHUB_TOKEN }}
          enable-commit-comment: true
          overwrites-pull-request-comment: true
          fails-without-credentials: false
        env:
          NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
          NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
        timeout-minutes: 1

on: push works fine, trouble with pull_request Repo: https://github.com/Qvant-lab/qui-max

cheesytim avatar Jul 08 '21 07:07 cheesytim