Skip to content

Commit

Permalink
Edit gh-pages push script
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau-lilly committed Jan 15, 2021
1 parent da12095 commit 7086011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/publish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git config --global user.email "[email protected]"
git config --global user.name "wlandau"
[ -z "${GITHUB_PAT}" ] && exit 0
git clone -b gh-pages https://${GITHUB_PAT}@github.com/ropensci/targets-design.git gh-pages
git clone -b gh-pages https://${GITHUB_PAT}@github.com/ropensci-books/targets-design.git gh-pages
cd gh-pages
ls -a | grep -Ev "^\.$|^..$|^\.git$" | xargs rm -rf
cp -r ../_book/* ./
Expand Down

0 comments on commit 7086011

Please sign in to comment.