From 405e84b48d9a107f2320787f34ca9b7b68faadf0 Mon Sep 17 00:00:00 2001 From: Leifer Mendez Date: Tue, 31 Oct 2023 21:06:45 +0100 Subject: [PATCH] ci: add run build --- .github/workflows/netlify-dev.yml | 4 ++-- .github/workflows/netlify.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/netlify-dev.yml b/.github/workflows/netlify-dev.yml index 477d54954..070270af8 100644 --- a/.github/workflows/netlify-dev.yml +++ b/.github/workflows/netlify-dev.yml @@ -45,5 +45,5 @@ jobs: - name: Build and Deploy run: | - cd packages/docs - netlify deploy --build --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} + cd packages/docs && npm run build + netlify deploy --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.github/workflows/netlify.yml b/.github/workflows/netlify.yml index 9c21b3772..63ab48a8b 100644 --- a/.github/workflows/netlify.yml +++ b/.github/workflows/netlify.yml @@ -39,4 +39,4 @@ jobs: - name: Build and Deploy run: | - cd packages/docs && netlify deploy --prod --build --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }} + cd packages/docs && npm run build && netlify deploy --prod --site ${{ secrets.NETLIFY_SITE_ID }} --auth ${{ secrets.NETLIFY_AUTH_TOKEN }}