Skip to content

Commit

Permalink
Add deployment step for Javadoc to GitHub Pages (instead of deploy fr…
Browse files Browse the repository at this point in the history
…om branch)
  • Loading branch information
SableRaf committed Dec 11, 2024
1 parent 113edab commit a26c148
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-and-deploy-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,3 +114,21 @@ jobs:
fi
env:
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}

deploy-javadoc:
runs-on: ubuntu-latest
needs: commit-javadoc

steps:
- name: Checkout gh-pages branch
uses: actions/checkout@v3
with:
repository: processing/processing4-javadocs
ref: gh-pages
fetch-depth: 0

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs

0 comments on commit a26c148

Please sign in to comment.