Skip to content

Commit

Permalink
Copy gitignore in website update script
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 23, 2015
1 parent 371e74a commit 891f28e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/update-website
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ cd ..
# copy to /tmp
tmpdir=$(mktemp -d -t jq.website.XXXXXXXXXX)
cp -r docs/output/* "$tmpdir"
cp .gitignore "$tmpdir"

# copy to gh-pages
git checkout gh-pages
cp -r "$tmpdir"/* .
cp "$tmpdir"/.gitignore .

# clean up
rm -rf "$tmpdir"
Expand Down

0 comments on commit 891f28e

Please sign in to comment.