Skip to content

Commit a26c148

Browse files
committed
Add deployment step for Javadoc to GitHub Pages (instead of deploy from branch)
1 parent 113edab commit a26c148

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build-and-deploy-javadoc.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,21 @@ jobs:
114114
fi
115115
env:
116116
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
117+
118+
deploy-javadoc:
119+
runs-on: ubuntu-latest
120+
needs: commit-javadoc
121+
122+
steps:
123+
- name: Checkout gh-pages branch
124+
uses: actions/checkout@v3
125+
with:
126+
repository: processing/processing4-javadocs
127+
ref: gh-pages
128+
fetch-depth: 0
129+
130+
- name: Deploy to GitHub Pages
131+
uses: peaceiris/actions-gh-pages@v3
132+
with:
133+
github_token: ${{ secrets.GITHUB_TOKEN }}
134+
publish_dir: ./docs

0 commit comments

Comments
 (0)