New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
netlify deploy seems to upload to many files #1297
Comments
Hi @meziantou, can you share a repo/folder structure/configuration? |
Command line (PowerShell Core executed in Azure Pipelines):
Folder structure:
netlify.toml [[redirects]]
from = "https://xxx.netlify.app/*"
to = "https://yyy/:splat"
force = true
status = 301
[[redirects]]
from = "/*"
to = "/404.htm"
status = 404
[[headers]]
for = "/*"
[headers.values]
strict-transport-security = "max-age=10368000"
referrer-policy = "no-referrer-when-downgrade"
x-content-type-options = "nosniff"
x-frame-options = "DENY"
x-permitted-cross-domain-policies = "none"
x-xss-protection = "1; mode=block"
Expect-CT = "max-age=0, enforce, report-uri=\"https://xxx.report-uri.com/r/d/ct/enforce\"" Do you need more info? |
This might be related to a recent change aligning the CLI with how our buildbot ignore files to deploy #1272 Can you also share the CLI version you're using? You can do it by running: npx envinfo --system --binaries --npmPackages netlify-cli --npmGlobalPackages netlify-cli |
I can't run this command line right now on my CI environment. Here's the info I already have:
npm install -g netlify-cli:
Is it enough or does your command line provide additional useful information? |
Closing as stale. Please re-open if needed |
Describe the bug
I'm deploying my website using the command line
netlify deploy
. The output seems weird in the number of files to upload.The CDN requests 461 files but the client uploads 2024 files. Is it normal?
Expected behavior
It only uploads the files requested by the CDN
The text was updated successfully, but these errors were encountered: