don't re-run build in netlify deploy step

this was a breaking change in https://github.com/netlify/cli/releases/tag/v21.0.0
This commit is contained in:
Martin Raifer
2025-06-03 17:31:46 +02:00
committed by GitHub
parent d4b4519d5e
commit 5cb19f2cb1

View File

@@ -50,4 +50,4 @@ jobs:
env:
NETLIFY_AUTH_TOKEN: ${{secrets.NETLIFY_AUTH_TOKEN}}
NETLIFY_SITE_ID: ${{secrets.NETLIFY_SITE_ID}}
run: ./node_modules/.bin/netlify deploy --prod --dir=dist
run: ./node_modules/.bin/netlify deploy --no-build --prod --dir=dist