Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
karimkawambwa committed Jan 10, 2020
1 parent 995a5d0 commit c0d4693
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ branch_name=deploy-`date +"%s"`
git subtree add --prefix package $REMOTE master --squash &&
git fetch &&
git subtree pull --prefix package $REMOTE master --squash &&
if ! git diff-index --quiet HEAD --; then
git add package && git commit -m 'Dashboard' &&
fi

# Remote exists - Exit script if remote does not exist
git ls-remote --exit-code ${remote} >/dev/null 2>&1
Expand Down

0 comments on commit c0d4693

Please sign in to comment.