actions-netlify
actions-netlify copied to clipboard
Bad credentials
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..
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