Skip to content

refactor(docs): update links and comment #1614

refactor(docs): update links and comment

refactor(docs): update links and comment #1614

name: Content Validation
on:
push:
paths:
- '.github/workflows/content_validation.yml'
- '_data/en/publications.yml'
- '_data/ru/publications.yml'
- '**/*.md'
- '**/*.md.liquid'
- '**/*.html'
- 'scripts/docs/**'
workflow_dispatch:
env:
WERF_ENV: "production"
jobs:
check_broken_links:
runs-on: ubuntu-latest-4-cores
timeout-minutes: 60
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Task
uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install werf
uses: werf/actions/install@v2
- name: Check links
run: |
source "$(werf ci-env github --as-file)"
task -o group -p site:check-broken-links
env:
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"
spell_check_ru:
runs-on: ubuntu-latest-4-cores
timeout-minutes: 60
steps:
- name: Install werf
uses: werf/actions/install@v2
- name: Checkout code
uses: actions/checkout@v3
- name: Install Task
uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Spell check
run: |
source "$(werf ci-env github --as-file)"
task -o group -p site:run-spell-check:ru
env:
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"
spell_check_en:
runs-on: ubuntu-latest-4-cores
timeout-minutes: 60
steps:
- name: Install werf
uses: werf/actions/install@v2
- name: Checkout code
uses: actions/checkout@v4
- name: Install Task
uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Login to GitHub container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Spell check
run: |
source "$(werf ci-env github --as-file)"
task -o group -p site:run-spell-check:en
env:
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/werfio"