Ignore gh-pages in branch list
This commit is contained in:
parent
7fd210c506
commit
81f87b8e02
@ -9,7 +9,7 @@ cat > base/_redirects << EOF
|
||||
EOF
|
||||
|
||||
# Generating documentation for each other branch in a subdirectory
|
||||
for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop)$'); do
|
||||
for BRANCH in $(git branch --remotes --format '%(refname:lstrip=3)' | grep -Ev '^(HEAD|develop|gh-pages)$'); do
|
||||
echo "$BRANCH" >> base/versions.txt
|
||||
git checkout $BRANCH
|
||||
node processing
|
||||
|
Loading…
Reference in New Issue
Block a user