+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/deploy-versioned-pages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,5 @@ runs:
with:
issue-number: ${{github.event.pull_request.number}}
body: |
The created documentation from the pull request is available at: [docu-html](https://eclipse-score.github.io/score/${{steps.calc.outputs.target_folder}})
The created documentation from the pull request is available at: [docu-html](https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{steps.calc.outputs.target_folder}}/)
reactions: rocket
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
run: sudo apt update && sudo apt install -y graphviz
- name: Build documentation
run: |
bazel build //docs:github_pages__release && cp bazel-bin/docs/github_pages__release.tar .
bazel run //docs:incremental_release -- --github_user=${{ github.repository_owner }} --github_repo=${{ github.event.repository.name }}
tar -cf github-pages.tar _build
# ------------------------------------------------------------------------------
# Generate a unique artifact name to ensure proper tracking in all scenarios
# ------------------------------------------------------------------------------
Expand All @@ -69,7 +70,7 @@ jobs:
uses: actions/upload-artifact@v4.4.0
with:
name: github-pages-${{ github.event.pull_request.head.sha || github.sha }}
path: github_pages__release.tar
path: github-pages.tar
retention-days: 1
if-no-files-found: error

Expand Down Expand Up @@ -106,10 +107,10 @@ jobs:
name: github-pages-${{ github.event.pull_request.head.sha || github.sha }}

- name: Untar documentation artifact
run: mkdir -p extracted_docs && tar -xf github_pages__release.tar -C extracted_docs
run: mkdir -p extracted_docs && tar -xf github-pages.tar -C extracted_docs

- name: Deploy 🚀
id: pages-deployment
uses: ./.github/actions/deploy-versioned-pages
with:
source_folder: extracted_docs/html
source_folder: extracted_docs/_build
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载