Skip to content

Commit

Permalink
add netlify npm package if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
goodroot committed Oct 15, 2024
1 parent 14905c7 commit 33daea1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down

0 comments on commit 33daea1

Please sign in to comment.