mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 18:56:02 +07:00
ci(sphinxbuild): drop custom action and build directly
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
36
.github/workflows/sphinxbuild.yml
vendored
36
.github/workflows/sphinxbuild.yml
vendored
@@ -12,11 +12,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ammaraskar/sphinx-action@master
|
||||
with:
|
||||
docs-folder: "user_manual/"
|
||||
pre-build-command: pip install -r requirements.txt
|
||||
build-command: make html
|
||||
- name: Install pip dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build using Makefile
|
||||
run: cd user_manual && make html
|
||||
- name: Pack the results in local tar file
|
||||
shell: bash
|
||||
run: tar czf /tmp/documentation.tar.gz -C user_manual/_build/html .
|
||||
@@ -30,21 +29,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ammaraskar/sphinx-action@master
|
||||
with:
|
||||
docs-folder: "user_manual/"
|
||||
pre-build-command: pip install -r requirements.txt
|
||||
build-command: make html-lang-en
|
||||
- name: Install pip dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build using Makefile
|
||||
run: cd user_manual && make html-lang-en
|
||||
|
||||
developer_manual:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ammaraskar/sphinx-action@master
|
||||
with:
|
||||
docs-folder: "developer_manual/"
|
||||
pre-build-command: pip install -r requirements.txt
|
||||
build-command: make html
|
||||
- name: Install pip dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build using Makefile
|
||||
run: cd developer_manual && make html
|
||||
- name: Pack the results in local tar file
|
||||
shell: bash
|
||||
run: tar czf /tmp/documentation.tar.gz -C developer_manual/_build/html/com .
|
||||
@@ -58,11 +55,10 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ammaraskar/sphinx-action@master
|
||||
with:
|
||||
docs-folder: "admin_manual/"
|
||||
pre-build-command: pip install -r requirements.txt
|
||||
build-command: make html
|
||||
- name: Install pip dependencies
|
||||
run: pip install -r requirements.txt
|
||||
- name: Build using Makefile
|
||||
run: cd admin_manual && make html
|
||||
- name: Pack the results in local tar file
|
||||
shell: bash
|
||||
run: tar czf /tmp/documentation.tar.gz -C admin_manual/_build/html/com .
|
||||
|
||||
Reference in New Issue
Block a user