Skip to content

Commit

Permalink
Generate html to correct files
Browse files Browse the repository at this point in the history
  • Loading branch information
Westwooo committed Sep 17, 2024
1 parent 59486f6 commit 65d4df0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
id: adocbuild_index
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/index.adoc"
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/index.adoc -o docs.html"
- name: Build recipes page
id: adocbuild_recipe
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/recipes.adoc"
program: "asciidoctor -D docs -r ./docs/lib/cb-docinfoprocessor.rb -a toc=left -a toclevels=4 -a source-highlighter=coderay -a stylesheet=couchbase.css -a linkcss=true docs/recipes.adoc -o recipes/recipes.html"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to ghpages
Expand All @@ -28,4 +28,5 @@ jobs:
publish_branch: gh-pages
publish_dir: ./docs
destination_dir: ./docs
exclude_assets: '*.adoc,build.sh,lib/,recipes/'
exclude_assets: '*.adoc,build.sh,lib/'
keep_files: true

0 comments on commit 65d4df0

Please sign in to comment.