When I use the Netlify CLI, not all files are sent to Netlify.
The output of my build is below (note the coverage folder).
Then in netlify ui i see (no coverage folder)
Website is https://cornerstonejs.org
This is my github worklow
-
name: Build docs
run: cd packages/docs && bun run build:docs-
name: Install Netlify CLI
run: bun add -g netlify-cli -
name: Deploy to Netlify
run: |
cd packages/docs
netlify deploy --dir=build --prod
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
-
P.S. I’m pretty sure I tried it and it worked, but it seems like it got deleted after a certain amount of time?