Skip to content

Commit

Permalink
CI: Remove deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Feb 23, 2024
1 parent 7718e34 commit 4dc9fd3
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4dc9fd3

Please sign in to comment.