docs: refactor command #1559
Workflow file for this run
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: Content Validation | |
on: | |
push: | |
paths: | |
- '.github/workflows/content_validation.yml' | |
- '_data/en/publications.yml' | |
- '_data/ru/publications.yml' | |
- '**/*.md' | |
- '**/*.md.liquid' | |
- '**/*.html' | |
env: | |
WERF_ENV: "production" | |
jobs: | |
check_broken_links: | |
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: 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" |