Skip to content

Merge pull request #8769 from aabidsofi19/bugfix #4

Merge pull request #8769 from aabidsofi19/bugfix

Merge pull request #8769 from aabidsofi19/bugfix #4

Workflow file for this run

name: GraphQL API Documentation
on:
push:
branches:
- "master"
paths:
- "server/internal/graphql/schema/schema.graphql"
jobs:
test:
runs-on: ubuntu-22.04
if: github.repository == 'meshery/meshery'
steps:
- name: Checkout repo 🛎️
uses: actions/checkout@master
with:
token: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.5
bundler-cache: true
- name: graphql-docs
run: |
cd docs
bundle install
bundle exec rake graphql:compile_docs
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: docs/
commit_user_name: l5io
commit_user_email: [email protected]
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
commit_options: "--signoff"
commit_message: "[Docs] Generated documentation for GraphQL API"
branch: master