From 588fbbbec72327fb358784ce420fb59cc8141d89 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 7 Apr 2021 15:15:17 +0800 Subject: [PATCH] Stop tracking Gemfile.lock in deployment tool (#306) --- tools/deploy.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/deploy.sh b/tools/deploy.sh index 17a490a..7e17108 100755 --- a/tools/deploy.sh +++ b/tools/deploy.sh @@ -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"