removing publish.sh because of no dependency

This commit is contained in:
joeaba 2021-10-20 19:25:57 +05:30 committed by GitHub
parent 6d4c5008c9
commit 443611d050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
#!/usr/bin/env bash
set -ex
if [[ -d .vercel ]]; then
rm -r .vercel
fi
CONFIG_FILE=vercel.json
PROJECT_NAME=explorer
cat > "$CONFIG_FILE" <<EOF
{
"name": "$PROJECT_NAME",
"scope": "solana-labs"
}
EOF
[[ -n $VERCEL_TOKEN ]] || {
echo "VERCEL_TOKEN is undefined. Needed for Vercel authentication."
exit 1
}
vercel deploy . --local-config="$CONFIG_FILE" --confirm --token "$VERCEL_TOKEN"