mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 22:47:17 +00:00
28 lines
659 B
YAML
28 lines
659 B
YAML
on:
|
|
workflow_call:
|
|
secrets:
|
|
hiveToken:
|
|
required: true
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: setup environment
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
actor: graphql-schema-publish
|
|
|
|
- name: schema publish
|
|
env:
|
|
HIVE_TOKEN: ${{ secrets.hiveToken }}
|
|
run: |
|
|
curl -sSL https://graphql-hive.com/install.sh | sh
|
|
hive schema:publish "schema.graphql" \
|
|
--github \
|
|
--service "graphql"
|