Skip to content

Commit a1df8b1

Browse files
authored
feat: bring back scripts folder from monorepo (#78)
# Description of change Brings back the scripts folder. It contains a sript needed in the vercel dashboard. Updated path: (before) `scripts/tooling/vercel/**.sh` -> `scripts/vercel/*.sh` ## Links to any relevant issues Be sure to reference any related issues by adding `fixes #(issue)`. ## How the change has been tested Describe the tests that you ran to verify your changes. Make sure to provide instructions for the maintainer as well as any relevant configurations.
1 parent 5d24c20 commit a1df8b1

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
# This script is meant to be run from the "Ignored Build Step" in Vercel.
3+
4+
npx turbo-ignore --fallback=HEAD^1
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
# This script is meant to be run from the "Ignored Build Step" in Vercel.
3+
4+
if [ "$VERCEL_ENV" == "preview" ]; then
5+
echo "✅ - Preview environment detected. Checking for changes in apps..."
6+
# Relative to the root directory of the project. E.g relative to apps/wallet-dashboard
7+
bash ../../scripts/vercel/ignore-build-step-base.sh
8+
else
9+
echo "❌ - Not a preview deployment."
10+
exit 0
11+
fi

0 commit comments

Comments
 (0)