diff --git a/.gitignore b/.gitignore index 875857171..df971b60d 100644 --- a/.gitignore +++ b/.gitignore @@ -46,9 +46,6 @@ yarn-error.log* # husky .husky -# vercel -.vercel - # lingui compiled translation files src/locales/_build/ src/locales/**/*.js diff --git a/.vercel/dao-branch-filtering.sh b/.vercel/dao-branch-filtering.sh new file mode 100644 index 000000000..1e412306a --- /dev/null +++ b/.vercel/dao-branch-filtering.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" + +if [[ "$VERCEL_GIT_COMMIT_REF" == "staging" || "$VERCEL_GIT_COMMIT_REF" == "task/init-dao-app" ]] ; then + # Proceed with the build + echo "✅ - Build can proceed" + exit 1; + +else + # Don't build + echo "🛑 - Build cancelled" + exit 0; +fi \ No newline at end of file diff --git a/.vercel/storybook-branch-filtering.sh b/.vercel/storybook-branch-filtering.sh new file mode 100644 index 000000000..988b9e3be --- /dev/null +++ b/.vercel/storybook-branch-filtering.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF" + +if [[ "$VERCEL_GIT_COMMIT_REF" == "develop" ]] ; then + # Proceed with the build + echo "✅ - Build can proceed" + exit 1; + +else + # Don't build + echo "🛑 - Build cancelled" + exit 0; +fi \ No newline at end of file diff --git a/apps/dao/.gitkeep b/apps/dao/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/packages/curve-ui-kit/.gitkeep b/packages/curve-ui-kit/.gitkeep new file mode 100644 index 000000000..e69de29bb