Skip to content

Commit

Permalink
deploy javadoc to github pages using github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Feb 19, 2024
1 parent 748ebb5 commit 708bd1b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
with:
name: I2P-install.jar-${{ github.sha }}
path: install.jar

javadoc-latest:
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: GetText
run: sudo apt install gettext
Expand All @@ -57,4 +59,11 @@ jobs:
with:
name: I2P-javadoc-${{ github.sha }}.zip
path: javadoc.zip

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload javadocs to github page
path: 'build/javadoc'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 708bd1b

Please sign in to comment.