mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://redirect.github.com/actions/checkout) | action | major | `v5` -> `v6` | --- ### Release Notes <details> <summary>actions/checkout (actions/checkout)</summary> ### [`v6`](https://redirect.github.com/actions/checkout/compare/v5...v6) [Compare Source](https://redirect.github.com/actions/checkout/compare/v5...v6) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/unraid/api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40Mi4yIiwidXBkYXRlZEluVmVyIjoiNDIuNDIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
31 lines
698 B
YAML
31 lines
698 B
YAML
name: Publish GraphQL Schema
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'api/generated-schema.graphql'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish-schema:
|
|
name: Publish Schema to Apollo Studio
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Apollo Rover CLI
|
|
run: |
|
|
curl -sSL https://rover.apollo.dev/nix/latest | sh
|
|
echo "$HOME/.rover/bin" >> $GITHUB_PATH
|
|
|
|
- name: Publish schema to Apollo Studio
|
|
env:
|
|
APOLLO_KEY: ${{ secrets.APOLLO_KEY }}
|
|
run: |
|
|
rover graph publish Unraid-API@current \
|
|
--schema api/generated-schema.graphql
|
|
|