This action currently validates models. When the Prequel Github action is deprecated, this action will upsert models into Prequel.
Required The host uri (with scheme) where the Prequel API can be accessed
Required The Prequel API key that this action should utilize.
either import or export, Default: export
Filepath or glob matching model configs to upsert, Default: prequel/models/*
- name: Apply Models
uses: prequel-co/apply-model-configs@v1
with:
host: https://api.prequel.co/
api_key: ${{ secrets.PREQUEL_API_KEY }}
mode: export
dir: exports/models/*.json