Skip to content

apioo/typehub-push-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'