This GitHub action submits local TypeAPI/TypeSchema specifications inside your repository to the TypeHub platform.
Required The typehub.cloud client id, this is either your username or an app key
Required The typehub.cloud client secret, this is either your password or an app secret
Required The directory containing TypeAPI/TypeSchema specifications to TypeHub
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'