docs(specs): update OpenRPC specifications from Daikon (#679) #483
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
generate-docs: | |
name: Generate Fern Docs | |
runs-on: ubuntu-22.04 | |
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/heads/main') && github.run_number > 1 }} | |
permissions: | |
contents: read | |
deployments: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Add aa-sdk docs to fern | |
uses: ./.github/actions/insert-wallets-tab | |
- name: Publish Documentation | |
uses: ./.github/actions/publish-fern | |
id: publish | |
with: | |
github-token: ${{ github.token }} | |
fern-token: ${{ secrets.FERN_TOKEN }} | |
environment: docs-production | |
ref: ${{ github.ref }} |