jsmrcaga / action-netlify-deploy

MIT License
104 stars 32 forks source link

netlify.toml different from build files upon deployment #54

Closed mkukawski closed 11 months ago

mkukawski commented 11 months ago

Hi I started seeing strange problem since week ago in our github deployments when using your package. It seem to be sort of regression somewhere but I'm not sure if it is on netlify side or this code or netlify CLI is doing something to tinker netlify.toml file... Context:

netlify_files.zip

Our github action workflow file is more less like that (trimmed a bit for readability and privacy) as below.

jobs: build-and-deploy: runs-on: ubuntu-latest steps:

This was always working for 2 years now, we didn't touch this for long time. It suddenly started failing since last week. I saw in your code you use some sort of CLI command in the script, but it's not very clear where it comes from, I maybe missed this, but I dont see any explicit installaction of the netlify CLI... Could you triage if this issue is on your side or github or netlify ? What you think ? I asked netlify support they say they don't tinker with netlify.toml files but not sure to trust that...

Thanks

mkukawski commented 11 months ago

root cause is netlify cli https://github.com/netlify/cli/issues/6190