Skip to content

Update transport.ru.md #604

Update transport.ru.md

Update transport.ru.md #604

Workflow file for this run

name: Deploy docs to GitHub Pages
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: "0"
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
with:
enable-cache: true
- run: |
echo "COMMIT_MSG=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- run: uv sync
- run: uv run mkdocs build
- name: Git push assets to "gh-pages" branch
run: |
cd site || exit 1
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b gh-pages
git add .
git commit -m "Deployed ${{ env.COMMIT_MSG }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin gh-pages