From d6a3de251014e4c6d809611aff64e29893ea5d4a Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Sun, 20 Mar 2022 22:55:05 +0800 Subject: [PATCH] update CI for build api doc --- .github/workflows/build-doc.yml | 8 +++++++- index.html => public/index.html | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) rename index.html => public/index.html (93%) diff --git a/.github/workflows/build-doc.yml b/.github/workflows/build-doc.yml index a48f1474..536e7381 100644 --- a/.github/workflows/build-doc.yml +++ b/.github/workflows/build-doc.yml @@ -22,4 +22,10 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./os/target/riscv64gc-unknown-none-elf/doc - destination_dir: ${{ github.ref_name }} \ No newline at end of file + destination_dir: ./public/${{ github.ref_name }} + - name: Deploy index.html to Github Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public + destination_dir: ./public \ No newline at end of file diff --git a/index.html b/public/index.html similarity index 93% rename from index.html rename to public/index.html index 7aa1475d..28d75545 100644 --- a/index.html +++ b/public/index.html @@ -25,6 +25,7 @@

7. IPCOS API doc

8. SyncMutexOS API doc

9. DeviceOS API doc

+

9. main-branch OS API doc