mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
Copy gitignore in website update script
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user