Skip to content

Commit

Permalink
feat: refine build steps and add steps to build agoric-sdk docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LuqiPan committed Mar 26, 2024
1 parent 649e426 commit e806103
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/build-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,36 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Checkout
- name: Checkout Endo
uses: actions/checkout@v4
with:
repository: endojs/endo
path: endo

- name: Install and Build endo docs
- name: Build Endo docs
run: |
cd endo
yarn install
yarn docs
yarn add -D typedoc-plugin-markdown -W
yarn typedoc --plugin typedoc-plugin-markdown
- name: Move Endo docs into main
run: mv endo/api-docs main/reference/endo

- name: Checkout agoric-sdk
uses: actions/checkout@v4
with:
repository: agoric/agoric-sdk
path: agoric-sdk

- name: Build agoric-sdk docs
run: |
cd agoric-sdk
yarn add -D typedoc-plugin-markdown -W
yarn typedoc --plugin typedoc-plugin-markdown
- name: Move agoric-sdk docs into main
run: mv agoric-sdk/api-docs main/reference/agoric-sdk

- name: Build Doc site
run: |
yarn install
Expand All @@ -35,4 +50,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy --project-name=documentation
command: pages deploy --project-name=documentation dist/

0 comments on commit e806103

Please sign in to comment.