Skip to content

Commit

Permalink
Deploy documentation page from a release folder
Browse files Browse the repository at this point in the history
  • Loading branch information
boxanm committed May 7, 2024
1 parent e71f61a commit 91d16d0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/update_documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

workflow_dispatch: # Allow manual triggering

release:
types:
- published

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -33,4 +37,9 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/doc/html # Directory containing the HTML documentation
if: ${{ github.event.release.tag_name }}
destination_dir: ./releases/${{ github.event.release.tag_name }}
keep_files: false
commit_message: Release ${{ github.event.release.tag_name }}


0 comments on commit 91d16d0

Please sign in to comment.