From dd00314bb8f2f625528d0449f3a7c47711c74960 Mon Sep 17 00:00:00 2001 From: RobKraft Date: Tue, 23 Jul 2024 19:24:28 -0500 Subject: [PATCH] Update deploytonetlify.yml change dir from build to dist --- .github/workflows/deploytonetlify.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploytonetlify.yml b/.github/workflows/deploytonetlify.yml index cf7c38a0..8ec30992 100644 --- a/.github/workflows/deploytonetlify.yml +++ b/.github/workflows/deploytonetlify.yml @@ -33,8 +33,11 @@ jobs: - name: Link Netlify site run: netlify link --id ${{ secrets.NETLIFY_SITE_ID }} + - name: build netlify + run: netlify build + - name: Deploy to Netlify env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - run: npx netlify deploy --prod --dir=build # Adjust the directory to your build output folder + run: npx netlify deploy --prod --dir=dist # Adjust the directory to your build output folder