mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
Update docs/sync-web-site.sh to include the generated directory
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
git clone git@github.com:quarkusio/quarkusio.github.io.git target/web-site
|
||||
|
||||
rsync -vr \
|
||||
--exclude='**/*.html' \
|
||||
--exclude='**/index.adoc' \
|
||||
@@ -7,6 +9,13 @@ rsync -vr \
|
||||
src/main/asciidoc/* \
|
||||
target/web-site/_guides
|
||||
|
||||
rsync -vr \
|
||||
--exclude='**/*.html' \
|
||||
--exclude='**/index.adoc' \
|
||||
--exclude='**/attributes.adoc' \
|
||||
../target/asciidoc/generated \
|
||||
target/web-site/_guides/
|
||||
|
||||
echo "Sync done!"
|
||||
echo "=========="
|
||||
|
||||
@@ -15,7 +24,7 @@ then
|
||||
echo "Updating the web site"
|
||||
cd target/web-site
|
||||
git add -A
|
||||
git commit -m "sync web site with quarkus documentation"
|
||||
git commit -m "Sync web site with Quarkus documentation"
|
||||
git push origin develop
|
||||
echo "Web Site updated - wait for CI build"
|
||||
else
|
||||
@@ -23,4 +32,3 @@ else
|
||||
echo "cd target/web-site && bundle exec jekyll serve"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user