Files
runner-images-temp/images/linux/scripts/installers/netlify.sh
T

17 lines
428 B
Bash
Raw Normal View History

2020-08-06 14:01:25 -04:00
#!/bin/bash
################################################################################
## File: netlify.sh
## Desc: Installs the Netlify CLI
################################################################################
# Install the Netlify CLI
npm i -g netlify-cli
# Validate the installation
echo "Validate the installation"
if ! command -v netlify; then
echo "Netlify CLI was not installed"
exit 1
fi