Skip to content

Fix Russian 404 pages #5010

Fix Russian 404 pages

Fix Russian 404 pages #5010

Workflow file for this run

name: Build
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches: [main]
paths:
- "site/**"
pull_request:
types: ["opened", "edited", "synchronize"]
paths:
- "site/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use the latest LTS version of Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
working-directory: site/
- name: Build site
run: npm run docs:build
working-directory: site/
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2
with:
publish-dir: "./site/docs/.vitepress/dist"
production-branch: main
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: ${{ github.event.pull_request.title }}
enable-pull-request-comment: true
enable-commit-comment: false
overwrites-pull-request-comment: true
fails-without-credentials: false
netlify-config-path: ./site/netlify.toml
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 5