From 4dc9fd3a5021336c3fba96783a030b4435ea1c62 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Fri, 23 Feb 2024 15:40:47 +0100 Subject: [PATCH] CI: Remove deploy step --- .github/workflows/ci_cd.yml | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b896a3860..7565fb237 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -117,33 +117,23 @@ jobs: . .\doc\make.bat html - name: Upload HTML documentation artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: documentation-html path: doc/_build/html retention-days: 7 - # - name: Create PDF documentation - # run: | - # .venv\Scripts\Activate.ps1 - # . .\doc\make.bat pdf - - # - name: Upload PDF documentation artifact - # uses: actions/upload-artifact@v3 - # with: - # name: documentation-pdf - # path: doc/_build/latex - # retention-days: 7 + - name: Create PDF documentation + run: | + .venv\Scripts\Activate.ps1 + . .\doc\make.bat pdf - - name: Deploy - if: contains(github.ref, 'refs/heads/main') - uses: JamesIves/github-pages-deploy-action@v4.5.0 + - name: Upload PDF documentation artifact + uses: actions/upload-artifact@v4 with: - token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages - folder: doc/_build/html - clean: true - single-commit: true + name: documentation-pdf + path: doc/_build/latex + retention-days: 7 release: name: Release project