Stop tracking Gemfile.lock in deployment tool (#306)

This commit is contained in:
Cotes Chung 2021-04-07 15:15:17 +08:00
parent 6341752986
commit 588fbbbec7
1 changed files with 0 additions and 6 deletions

View File

@ -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"