File tree Expand file tree Collapse file tree 2 files changed +58
-3
lines changed
Expand file tree Collapse file tree 2 files changed +58
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Build PR Preview
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ build-website :
8+ name : Build Website
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ # - name: Set up JDK 21
13+ # uses: actions/setup-java@v4
14+ # with:
15+ # distribution: temurin
16+ # java-version: 21
17+ # cache: 'maven'
18+
19+ # - name: Build Roq
20+ # run: mvn -B clean install --file pom.xml -DskipTests -Dno-format
21+
22+ # - name: Store PR id
23+ # run: |
24+ # echo ${{ github.event.number }} > ./docs/target/generated-docs/pr-id.txt
25+
26+ # - name: Publishing docs
27+ # uses: actions/upload-artifact@v4
28+ # with:
29+ # name: docs
30+ # path: ./docs/target/generated-docs
31+ # retention-days: 3
32+
33+ - name : Generate blog
34+ uses : quarkiverse/quarkus-roq@v1
35+ with :
36+ # github-token: ${{ secrets.GITHUB_TOKEN }}
37+ maven-executable : ' mvn'
38+ maven-build-args : ' -DskipTests -Dquarkus.profile=gh-pages'
39+ github-pages : ' false'
40+ setup-java : ' false'
41+ # - name: Build blog
42+ # uses: ./
43+ # with:
44+ # setup-java: 'false'
45+ # github-pages: 'false'
46+ # site-directory: 'blog'
47+ # site-future: 'true'
48+ # maven-executable: 'mvn'
49+
50+ - name : Publishing blog
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : blog
54+ path : ./target/roq
55+ retention-days : 3
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ concurrency:
1313jobs :
1414 build :
1515 runs-on : ubuntu-latest
16- permissions :
17- pages : write # to deploy to Pages
18- id-token : write # to verify the deployment originates from an appropriate source
16+ # permissions:
17+ # pages: write # to deploy to Pages
18+ # id-token: write # to verify the deployment originates from an appropriate source
1919 steps :
2020 - uses : actions/checkout@v4
2121 - name : Generate Blog
You can’t perform that action at this time.
0 commit comments