Skip to content

Commit

Permalink
github: add documentation workflow on release artifact (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintyfrankie authored Jul 22, 2024
1 parent f1eda13 commit a6f35b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ jobs:
name: docs
path: ./docs/docs.pdf

release:
runs-on: ubuntu-latest
needs: compile
steps:
- uses: actions/download-artifact@v4
with:
name: docs
- uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
files: ./docs/docs.pdf

deploy:
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit a6f35b2

Please sign in to comment.