Skip to content

Commit

Permalink
Stop tracking Gemfile.lock in deployment tool (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
cotes2020 committed Apr 7, 2021
1 parent 6341752 commit 588fbbb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tools/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ init() {
exit -1
fi

# Gemfile could be changed by `bundle install` in actions workflow
if [[ -n $(git ls-files | grep Gemfile.lock) && -n \
$(git status Gemfile.lock --porcelain) ]]; then
git checkout -- Gemfile.lock
fi

if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
_no_branch=true
git checkout -b "$PAGES_BRANCH"
Expand Down

0 comments on commit 588fbbb

Please sign in to comment.