Skip to content

feat: doc CI + doc deploy #1

feat: doc CI + doc deploy

feat: doc CI + doc deploy #1

Workflow file for this run

name: Build Documentation
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
if: "!contains(github.event.head_commit.message, '[no doc]')"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs
pip install -r requirements.txt # If you have additional dependencies
- name: Build documentation
run: |
mkdocs build --strict
name: Deploy doc

Check failure on line 35 in .github/workflows/docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: docs.yml
directory: deploy
vault_password: ${{secrets.ANSIBLE_VAULT_KEY}}
options: |
-l prod
key: ${{ secrets.SSH_PRIVATE_KEY }}