Skip to content

Update documentation #46

Update documentation

Update documentation #46

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
- docs
workflow_dispatch:
jobs:
run-ansible:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0 # fetch tags doesn't work without this (https://github.com/actions/checkout/issues/1748)
clean: false
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Install dependencies
run: uv sync --group docs
- name: Build docs
run: uv run mkdocs build
- name: Run playbook
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: docs/deploy/run_deploy.yaml
key: ${{ secrets.DEPLOY_KEY }}
inventory: |
[vadim_one]
vadim.one ansible_port=4242 ansible_user=service
requirements: docs/deploy/galaxy-requirements.yml