diff --git a/.github/workflows/openrpc-docs.yml b/.github/workflows/openrpc-docs.yml index 2c2d53e66..3fb319761 100644 --- a/.github/workflows/openrpc-docs.yml +++ b/.github/workflows/openrpc-docs.yml @@ -1,4 +1,4 @@ -name: OpenRPC (Build & Deploy GitHub pages) +name: Deploy RPC Docs on: push: @@ -12,23 +12,25 @@ on: jobs: deploy: - name: Create RPC Docs + name: Deploy runs-on: ubuntu-latest defaults: run: working-directory: ./docs/rpc steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - name: Setup node.js + uses: actions/setup-node@v4 with: node-version: 16 - name: Rust cache uses: swatinem/rust-cache@v2 - - name: Build RPC Docs + - name: Build RPC docs run: cargo run --bin generate-openrpc-spec -- --write-to . - name: Install open-rpc