mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Merge pull request #3875 from modoboa/migrate-doc-vitepress
docs: migrate documentation from sphinx to vitepress
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'modoboa/**'
|
||||
- 'frontend/**'
|
||||
- 'doc/**'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'modoboa/**'
|
||||
- 'frontend/**'
|
||||
- 'doc/**'
|
||||
|
||||
jobs:
|
||||
cache-and-install:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
name: Install pnpm
|
||||
with:
|
||||
version: 10
|
||||
cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: cd doc-ng && pnpm install
|
||||
|
||||
- name: Build documentation
|
||||
run: cd doc-ng && pnpm run build
|
||||
@@ -10,12 +10,22 @@ on:
|
||||
- 'modoboa/**.po'
|
||||
- 'frontend/**'
|
||||
- 'doc/**'
|
||||
- 'doc-ng/**'
|
||||
- '.editorconfig'
|
||||
- '.readthedocs.yml'
|
||||
- '.pre-commit-config.yaml'
|
||||
- '.gitignore'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- 'modoboa/**.po'
|
||||
- 'frontend/**'
|
||||
- 'doc/**'
|
||||
- 'doc-ng/**'
|
||||
- '.editorconfig'
|
||||
- '.readthedocs.yml'
|
||||
- '.pre-commit-config.yaml'
|
||||
- '.gitignore'
|
||||
release:
|
||||
branches: [ master ]
|
||||
types: [ published ]
|
||||
|
||||
Reference in New Issue
Block a user