diff --git a/.ci/build-docs b/.ci/build-docs index 7ad47ef..4406af0 100755 --- a/.ci/build-docs +++ b/.ci/build-docs @@ -21,9 +21,14 @@ cd "../.." echo "bundle install --quiet" bundle install --quiet -echo "--- Jazzy" -bundle exec jazzy --config jazzy.json +echo "--- Jazzy ProcedureKit" + +echo "cd sources/ProcedureKit" +cd "sources/ProcedureKit" + +echo "bundle exec jazzy --clean --output docs --config .jazzy.json" +bundle exec jazzy --clean --output docs --config .jazzy.json echo "--- :aws: Upload" -cd "docs/" -buildkite-agent artifact upload "**/*" s3://procedure.kit.run/development +echo 'aws s3 sync docs "s3://procedure.kit.run/$PROCEDUREKIT_BRANCH" --acl public-read --delete' +aws s3 sync docs "s3://procedure.kit.run/$PROCEDUREKIT_BRANCH" --acl public-read --delete diff --git a/jazzy.json b/jazzy.json deleted file mode 100644 index b258bd7..0000000 --- a/jazzy.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "xcodebuild_arguments": [ - "-project", "sources/ProcedureKit/ProcedureKit.xcodeproj", - "-scheme", "ProcedureKit"], - "author": "ProcedureKit Contributors", - "author_url": "https://github.com/ProcedureKit", - "module": "ProcedureKit", - "readme": "README.md", - "theme": "fullwidth", - "documentation": "Guides/*.md" -} \ No newline at end of file