Skip to content

Create_plumed_input #153

Create_plumed_input

Create_plumed_input #153

Workflow file for this run

name: docs
on:
workflow_call:
workflow_dispatch:
pull_request:
branches: [ main ]
types: [labeled]
permissions:
contents: write
jobs:
build-docs:
runs-on: ubuntu-latest
if: github.event.label.name == 'docthis'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: "1.5.53"
- name: Install dependencies
run: |
python -m pip install .[dev]
- name: Build docs
run: |
make docs
- name: Commit rendered docs
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(docs): render docs"
commit_user_name: "github-actions[bot]"
commit_user_email: "github-actions[bot]@users.noreply.github.com"
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
file_pattern: "docs/ _inv/ _reference/ _freeze/"
push_options: "--force"
# already served from main branch
# - uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: docs