Skip to content

Commit

Permalink
Edit YAML formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ptgott committed Oct 22, 2024
1 parent 23edefa commit 625e7b0
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/doc-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
repository: "gravitational/docs"
path: "docs"
repository: 'gravitational/docs'
path: 'docs'

- name: Prepare docs site configuration
# The environment we use for linting the docs differs from the one we
Expand Down Expand Up @@ -83,29 +83,28 @@ jobs:
yarn build-node
- name: Check spelling
working-directory: "$GITHUB_WORKSPACE/docs"
working-directory: '$GITHUB_WORKSPACE/docs'
run: yarn spellcheck content/teleport

- name: Lint docs formatting
working-directory: "$GITHUB_WORKSPACE/docs"
working-directory: '$GITHUB_WORKSPACE/docs'
run: yarn markdown-lint

- name: Lint docs prose
working-directory: "$GITHUB_WORKSPACE/docs/content/teleport"
uses: errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018 # v2.1.0
uses: 'errata-ai/vale-action@38bf078c328061f59879b347ca344a718a736018' # v2.1.0
working-directory: '$GITHUB_WORKSPACE/docs/content/teleport'
with:
version: 3.8.0
# Take the comma-separated list of files returned by the "Check for
# relevant changes" job.
separator: ","
separator: ','
files: ${{ needs.changes.outputs.changed_files }}
# Restrict the linter to lines modified/added by a PR, not entire
# changed files.
filter_mode: added
fail_on_error: true
vale_flags: "--config=docs/.vale.ini"
vale_flags: '--config=docs/.vale.ini'

- name: Test the docs build
working-directory: "$GITHUB_WORKSPACE/docs"
working-directory: '$GITHUB_WORKSPACE/docs'
run: yarn install && yarn build

0 comments on commit 625e7b0

Please sign in to comment.