Skip to content

Commit

Permalink
fix: Update deploy script to include correct directory
Browse files Browse the repository at this point in the history
path
  • Loading branch information
binary64 committed Nov 5, 2023
1 parent 4d1e98d commit c2b9305
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/blabber/cicd/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

ls -al
ls -al dist/apps/blabber

echo "Ensuring dist/apps/blabber exists..."
if [ ! -d "dist/apps/blabber" ]; then
Expand All @@ -21,14 +21,14 @@ echo "Installed!"

echo "Logging in..."
vercel --no-color --cwd dist/apps/blabber --local-config=apps/blabber/cicd/vercel.json --token "$VERCEL_TOKEN" link --yes
ls -al
ls -al dist/apps/blabber
vercel --no-color --cwd dist/apps/blabber --local-config=apps/blabber/cicd/vercel.json --token "$VERCEL_TOKEN" pull --yes
ls -al
ls -al dist/apps/blabber
echo "Logged in!"

echo "Building..."
vercel --no-color --cwd dist/apps/blabber --local-config=apps/blabber/cicd/vercel.json --token "$VERCEL_TOKEN" build
ls -al
ls -al dist/apps/blabber
echo "Built!"

echo "Deploying..."
Expand Down

0 comments on commit c2b9305

Please sign in to comment.