Stop tracking Gemfile.lock in deployment tool (#306)
This commit is contained in:
parent
6341752986
commit
588fbbbec7
1 changed files with 0 additions and 6 deletions
|
@ -15,12 +15,6 @@ init() {
|
||||||
exit -1
|
exit -1
|
||||||
fi
|
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
|
if [[ -z $(git branch -av | grep "$PAGES_BRANCH") ]]; then
|
||||||
_no_branch=true
|
_no_branch=true
|
||||||
git checkout -b "$PAGES_BRANCH"
|
git checkout -b "$PAGES_BRANCH"
|
||||||
|
|
Loading…
Reference in a new issue