mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 18:01:01 -06:00
1bcfb180ad
* Update `website/scripts` * Remove header as well
15 lines
518 B
Bash
15 lines
518 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
# This is run during the website build step to determine if we should skip the build or not.
|
|
# More information: https://vercel.com/docs/platform/projects#ignored-build-step
|
|
|
|
if [[ "$VERCEL_GIT_COMMIT_REF" == "stable-website" ]] ; then
|
|
# Proceed with the build if the branch is stable-website
|
|
echo "✅ - Build can proceed"
|
|
exit 1;
|
|
else
|
|
# Check for differences in the website directory
|
|
git diff --quiet HEAD^ HEAD ./
|
|
fi |