Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
lmaddox committed Nov 6, 2020
1 parent a8f3aa0 commit 180d795
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/build_push_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ git stash

# checkout gh-pages, remove everything but .git, pop the stash
# switch into the gh-pages branch
git checkout gh-pages
git checkout gh-pages
git pull origin gh-pages

# Make sure to set the credentials!
git config --global user.email "$GH_EMAIL" > /dev/null 2>&1
git config --global user.name "$GITHUB_API_USERNAME" > /dev/null 2>&1
git config --global user.email "$GH_EMAIL" > /dev/null 2>&1
git config --global user.name "$GITHUB_API_USERNAME" > /dev/null 2>&1

# remove all files that are not in the .git dir
# TODO use a working command
Expand All @@ -56,7 +56,7 @@ declare -a leftover=('.cache/'
'auto_examples/'
'includes'
'modules/'
'_autosummary',
'_autosummary/',
'src/'
'tests/'
'old/'
Expand Down

0 comments on commit 180d795

Please sign in to comment.