Skip to content

Commit

Permalink
[docs] Try copy KDoc after jekyll run
Browse files Browse the repository at this point in the history
For some reason I cannot access kdoc files on github pages, while it works locally fine.
  • Loading branch information
nsk90 committed Jul 21, 2024
1 parent f1acffe commit 93173ac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run Dokka
run: ./gradlew dokkaHtmlMultiModule
working-directory: '${{ github.workspace }}'
- name: Copy kdoc to _site
run: mkdir -p docs/_site/kdoc && cp -R build/dokka/htmlMultiModule/ docs/_site/kdoc
working-directory: '${{ github.workspace }}'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -57,6 +51,12 @@ jobs:
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Run Dokka
run: ./gradlew dokkaHtmlMultiModule
working-directory: '${{ github.workspace }}'
- name: Copy KDoc to _site
run: mkdir -p docs/_site/kdoc && cp -Rv build/dokka/htmlMultiModule/ docs/_site/kdoc
working-directory: '${{ github.workspace }}'
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit 93173ac

Please sign in to comment.