Ignore gh-pages in branch list

1.0
Chris Hunt 3 years ago
parent 7fd210c506
commit 81f87b8e02

@ -9,7 +9,7 @@ cat > base/_redirects << EOF
EOF EOF
# Generating documentation for each other branch in a subdirectory # 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 echo "$BRANCH" >> base/versions.txt
git checkout $BRANCH git checkout $BRANCH
node processing node processing

Loading…
Cancel
Save

Powered by TurnKey Linux.