diff --git a/docs/sync-web-site.sh b/docs/sync-web-site.sh index 211086f37..9f2d88968 100755 --- a/docs/sync-web-site.sh +++ b/docs/sync-web-site.sh @@ -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 -