Skip to content

Commit

Permalink
Using -a command for hopefully consistent behaviour on mac and ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCreator committed Sep 10, 2018
1 parent 90172f5 commit 032220f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/firebase/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ mkdir -p "$firebaseDir/functions/";

# Transfering files into fire base deploy folder
echo ">> Preparing build files for firebase upload"
cp -R "$projectDir/ui/dist/" "$firebaseDir/public/"
cp -R "$projectDir/cli/bin/" "$firebaseDir/public/cli/"
cp -R "$projectDir/api/" "$firebaseDir/functions/"
cp -a "$projectDir/ui/dist/." "$firebaseDir/public/"
cp -a "$projectDir/cli/bin/." "$firebaseDir/public/cli/"
cp -a "$projectDir/api/." "$firebaseDir/functions/"

# Reconfigure the API function for firebase
# cp "$firebaseDir/functions/firebase.js" "$firebaseDir/functions/index.js"
cp "$firebaseDir/functions/firebase.js" "$firebaseDir/functions/index.js"

# Debug for file tree
cd "$firebaseDir"
Expand Down

0 comments on commit 032220f

Please sign in to comment.