mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
[Zeit] terms have been removed from Vercel deployment (#1032)
This commit is contained in:
@@ -1,31 +1,31 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
################################################################################
|
################################################################################
|
||||||
## File: zeit-now.sh
|
## File: vercel.sh
|
||||||
## Desc: Installs the Zeit Now CLI
|
## Desc: Installs the Vercel CLI
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
# Source the helpers for use with the script
|
# Source the helpers for use with the script
|
||||||
source $HELPER_SCRIPTS/document.sh
|
source $HELPER_SCRIPTS/document.sh
|
||||||
|
|
||||||
# Install the Zeit Vercel CLI
|
# Install the Vercel CLI
|
||||||
npm i -g vercel
|
npm i -g vercel
|
||||||
|
|
||||||
# Validate the installation
|
# Validate the installation
|
||||||
echo "Validate the installation"
|
echo "Validate the installation"
|
||||||
if ! command -v vercel; then
|
if ! command -v vercel; then
|
||||||
echo "Zeit Vercel CLI was not installed"
|
echo "Vercel CLI was not installed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Creating the symlink now to vercel"
|
echo "Creating the symlink for [now] command to vercel CLI"
|
||||||
ln -s /usr/local/bin/vercel /usr/local/bin/now
|
ln -s /usr/local/bin/vercel /usr/local/bin/now
|
||||||
|
|
||||||
echo "Validate the link"
|
echo "Validate the link"
|
||||||
if ! command -v now; then
|
if ! command -v now; then
|
||||||
echo "Now link to Zeit Vercel CLI was not created"
|
echo "[Now] symlink to Vercel CLI was not created"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Document the installed version
|
# Document the installed version
|
||||||
echo "Document the installed version"
|
echo "Document the installed version"
|
||||||
DocumentInstalledItem "Zeit Vercel CLI ($(vercel --version))"
|
DocumentInstalledItem "Vercel CLI ($(vercel --version))"
|
||||||
@@ -229,7 +229,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
"{{template_dir}}/scripts/installers/vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/mongodb.sh",
|
"{{template_dir}}/scripts/installers/mongodb.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
|
|||||||
@@ -233,7 +233,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
"{{template_dir}}/scripts/installers/vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/mongodb.sh",
|
"{{template_dir}}/scripts/installers/mongodb.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
|
|||||||
@@ -233,7 +233,7 @@
|
|||||||
"{{template_dir}}/scripts/installers/terraform.sh",
|
"{{template_dir}}/scripts/installers/terraform.sh",
|
||||||
"{{template_dir}}/scripts/installers/packer.sh",
|
"{{template_dir}}/scripts/installers/packer.sh",
|
||||||
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
"{{template_dir}}/scripts/installers/vcpkg.sh",
|
||||||
"{{template_dir}}/scripts/installers/zeit-vercel.sh",
|
"{{template_dir}}/scripts/installers/vercel.sh",
|
||||||
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
"{{template_dir}}/scripts/installers/dpkg-config.sh",
|
||||||
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
"{{template_dir}}/scripts/installers/rndgenerator.sh"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user