Merge pull request #7831 from nextcloud/feature/create-build-artifacts

Create build artifacts in Github Actions
This commit is contained in:
Pierre Ozoux
2022-06-03 13:43:58 +02:00
committed by GitHub

View File

@@ -17,6 +17,14 @@ jobs:
docs-folder: "user_manual/"
pre-build-command: pip install -r requirements.txt
build-command: make html
- name: Pack the results in local tar file
shell: bash
run: tar czf /tmp/documentation.tar.gz -C user_manual/_build/html .
- name: Upload static documentation
uses: actions/upload-artifact@v2.2.4
with:
name: User manual.zip
path: "/tmp/documentation.tar.gz"
user_manual-en:
runs-on: ubuntu-latest
steps:
@@ -35,6 +43,14 @@ jobs:
docs-folder: "developer_manual/"
pre-build-command: pip install -r requirements.txt
build-command: 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 .
- name: Upload static documentation
uses: actions/upload-artifact@v2.2.4
with:
name: Developer manual.zip
path: "/tmp/documentation.tar.gz"
admin_manual:
runs-on: ubuntu-latest
steps:
@@ -44,3 +60,11 @@ jobs:
docs-folder: "admin_manual/"
pre-build-command: pip install -r requirements.txt
build-command: 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 .
- name: Upload static documentation
uses: actions/upload-artifact@v2.2.4
with:
name: Administration manual.zip
path: "/tmp/documentation.tar.gz"