Skip to content

[Docs] Test status of adapter #4

[Docs] Test status of adapter

[Docs] Test status of adapter #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