From ad94772d2fbe056271fa405da72fc14453c2305c Mon Sep 17 00:00:00 2001 From: Jonas Eberle Date: Tue, 18 Jul 2023 14:50:54 +0200 Subject: [PATCH] [TASK] Remove render docs workflow (#316) (cherry picked from commit 0508527568c19b8c4b78fdb617ef2994a3f67428) --- .github/workflows/docs.yml | 47 -------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index c4dbe7b0..00000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: docs - -on: - push: - branches: - - '**' - - '!l10n_*' - pull_request: - branches: - - '**' - - '!l10n_*' - -jobs: - use-docker-container: - runs-on: ubuntu-latest - strategy: - matrix: - # online, offline - mode: ['online'] - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Prepare jobfile - run: | - mkdir -p Documentation-GENERATED-temp - if [[ "${{ matrix.mode }}" = "offline" ]]; then - echo '{"Overrides_cfg":{"html_theme_options":{"docstypo3org":""}}}' > Documentation-GENERATED-temp/jobfile.json - fi - if [[ "${{ matrix.mode }}" = "online" ]]; then - echo '{"Overrides_cfg":{"html_theme_options":{"docstypo3org":"nonempty"}}}' > Documentation-GENERATED-temp/jobfile.json - fi - - name: docker run - run: | - docker run --rm --user=$(id -u):$(id -g) \ - -v $(pwd):/PROJECT:ro \ - -v $(pwd)/Documentation-GENERATED-temp:/RESULT \ - t3docs/render-documentation makehtml \ - -c make_singlehtml 1 \ - -c jobfile /RESULT/jobfile.json - - name: Verify rendering result - run: stat Documentation-GENERATED-temp/Result/project/0.0.0/index.html || stat Documentation-GENERATED-temp/Result/project/0.0.0/Index.html - - name: Upload - uses: actions/upload-artifact@v2 - with: - name: Rendering of ${{ github.event.repository.name }} (mode ${{ matrix.mode }}) - path: ./Documentation-GENERATED-temp/Result/project/0.0.0 -