diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index f2caaa89..4995dee4 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -25,6 +25,10 @@ jobs: run: | ls -la + - name: "Install Netlify CLI if missing" + run: which netlify &> /dev/null || npm install netlify-cli -g + shell: bash + - name: Deploy to Netlify uses: jsmrcaga/action-netlify-deploy@v2.0.0 with: