Skip to content

Commit

Permalink
simplify CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Jun 27, 2024
1 parent 1dd1d73 commit 5689826
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/build_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,9 @@ name: Build documentation
env:
PR_NUMBER: ${{ github.event.number }}
on:
pull_request:
branches:
- main
- develop
types: [closed, synchronize, opened]
push:
branches:
- 'main'
tags:
- v*
workflow_dispatch:


Expand All @@ -31,18 +24,6 @@ jobs:
cd docs_build
touch .nojekyll
- name: Deploy Test Build
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_build
target-folder: Build_PR_${{ env.PR_NUMBER }}
- name: Deploy Build
if: ${{ github.ref_type == 'tag'}}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_build
target-folder: ${{ github.ref_name }}
- name: Deploy Build
if: ${{ github.event.pull_request.merged }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs_build
Expand Down

0 comments on commit 5689826

Please sign in to comment.