-
Notifications
You must be signed in to change notification settings - Fork 11
28 lines (26 loc) · 829 Bytes
/
push-master.yml
File metadata and controls
28 lines (26 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# GitHub Actions workflow for commits pushed to the Libbulletjme repo - master branch only
name: GitHub Pages website
on:
push:
branches: [master]
jobs:
Website:
if: contains(toJson(github.event.commits), '[ci skip] ') == false
runs-on: ubuntu-latest
steps:
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 21
- uses: actions/setup-node@v6
with:
node-version: 24.14.1
- uses: actions/checkout@v6
- run: npm install --save-dev --save-exact antora
- run: npx antora src/site/ci-playbook.yml
- run: ./gradlew copyJavadocToSite --console=plain --stacktrace
- uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/site