latest discussion data files added #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |