mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
21 lines
486 B
YAML
21 lines
486 B
YAML
on:
|
|
workflow_call:
|
|
secrets:
|
|
hiveToken:
|
|
required: true
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: schema publish
|
|
env:
|
|
HIVE_TOKEN: ${{ secrets.hiveToken }}
|
|
run: |
|
|
curl -sSL https://graphql-hive.com/install.sh | sh
|
|
hive schema:publish "packages/services/api/src/modules/*/module.graphql.ts" --github
|