Skip to content

Commit

Permalink
feat(workflows): add setup-netlify-cli action and set used netlify-cl…
Browse files Browse the repository at this point in the history
…i to v17
  • Loading branch information
oliverschuerch committed Jul 11, 2024
1 parent 4f4a567 commit 905cb63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/deploy-to-netlify/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
steps:
- name: Install netlify-cli
shell: bash
run: pnpm i -g netlify-cli
run: pnpm i -g netlify-cli@17

- name: Deploy preview environment to netlify
id: netlify_deploy
Expand Down
15 changes: 15 additions & 0 deletions .github/actions/setup-netlify-cli/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###
#
# NOTE: We've created this action to ensure, we are using the same Netlify-CLI version everywhere
#
###

name: Setup Netlify CLI
description: Provides node and pnpm in a specific version.

runs:
using: composite
steps:
- name: Install netlify-cli
shell: bash
run: pnpm i -g netlify-cli@17

0 comments on commit 905cb63

Please sign in to comment.