-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (38 loc) · 1.11 KB
/
showcase.yml
File metadata and controls
41 lines (38 loc) · 1.11 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Publish Showcase
on:
workflow_dispatch:
permissions:
contents: write
jobs:
publish-showcase:
name: Publish Showcase
runs-on: ubuntu-latest
env:
MVN: ./mvnw --show-version --batch-mode --no-transfer-progress
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 25
- run: corepack enable
- run: pnpm install
working-directory: charts/npm
- uses: actions/setup-java@v5
with:
java-version: 25
distribution: temurin
cache: maven
- run: $MVN install
working-directory: bom
- run: $MVN --projects org.patternfly:patternfly-java-showcase --also-make -P showcase,prod package
- uses: JamesIves/[email protected]
with:
token: ${{ secrets.PUBLISH_CONTENT }}
repository-name: patternfly-java/patternfly-java.github.io
branch: gh-pages
folder: ./showcase/target/showcase
clean: true
force: true
single-commit: true