forked from I2P_Developers/i2p.i2p
deploy javadoc to github pages using github CI
This commit is contained in:
15
.github/workflows/ant.yml
vendored
15
.github/workflows/ant.yml
vendored
@@ -30,10 +30,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: I2P-install.jar-${{ github.sha }}
|
name: I2P-install.jar-${{ github.sha }}
|
||||||
path: install.jar
|
path: install.jar
|
||||||
|
|
||||||
javadoc-latest:
|
javadoc-latest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
steps:
|
steps:
|
||||||
- name: GetText
|
- name: GetText
|
||||||
run: sudo apt install gettext
|
run: sudo apt install gettext
|
||||||
@@ -57,4 +59,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: I2P-javadoc-${{ github.sha }}.zip
|
name: I2P-javadoc-${{ github.sha }}.zip
|
||||||
path: javadoc.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
|
||||||
|
Reference in New Issue
Block a user