Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 841 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 841 Bytes

TypeHub Push Action

This GitHub action submits local TypeAPI/TypeSchema specifications inside your repository to the TypeHub platform.

Inputs

client_id

Required The typehub.cloud client id, this is either your username or an app key

client_secret

Required The typehub.cloud client secret, this is either your password or an app secret

directory

Required The directory containing TypeAPI/TypeSchema specifications to TypeHub

Example usage

name: TypeHub
jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: apioo/typehub-push-action@v0.1
        with:
          client_id: '${{ secrets.TYPEHUB_CLIENT_ID }}'
          client_secret: '${{ secrets.TYPEHUB_CLIENT_SECRET }}'
          directory: 'specification'