Skip to content

Commit

Permalink
Add javadoc publishing pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
SeineEloquenz committed Aug 16, 2024
1 parent 723de73 commit d3ec360
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish-javadocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: publish javadocs
on:
push:
branches:
- main
- 5-documentation-overhaul
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: Fix worktree ownership
uses: docker://nixos/nix:2.24.2
with:
args: chown root ./ -R
- name: Run gradle
uses: docker://nixos/nix:2.24.2
with:
args: nix develop --command gradle build javadoc
env:
NIX_CONFIG: extra-experimental-features = flakes nix-command
- name: Publish javadocs
run: |
git checkout -b javadocs
git push -u origin docs

0 comments on commit d3ec360

Please sign in to comment.