Skip to content

Commit 36d166c

Browse files
committed
Roq Migration
Add pom.xml Remove Gemfile* Move files to roq locations Convert liquid to qute Add template extensions Create models for typesafe site data access Update GH workflows
1 parent 4df65ef commit 36d166c

202 files changed

Lines changed: 1085 additions & 1409 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/github-pages.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build and deploy Roq site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19+
concurrency:
20+
group: "pages"
21+
cancel-in-progress: false
22+
23+
jobs:
24+
build:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v5
28+
- name: Generate Roq Site
29+
uses: quarkiverse/quarkus-roq@v1
30+
with:
31+
github-token: ${{ secrets.GITHUB_TOKEN }} # Used to automatically get the GitHub Pages url
32+
33+
# Deployment job
34+
deploy:
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
runs-on: ubuntu-latest
39+
needs: build
40+
steps:
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

.github/workflows/jekyll.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/testsite.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Test site build
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up JDK 17
12+
uses: actions/setup-java@v4
13+
with:
14+
java-version: '17'
15+
distribution: 'temurin'
16+
cache: maven
17+
- name: Build with Maven
18+
run: mvn --batch-mode clean test
19+
- name: Archive generated site
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: generated-site
23+
path: ./target/roq/

.gitignore

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
# IDEA files
2-
.idea
3-
4-
# Jekyll directories
5-
/.jekyll-cache/
6-
/_site/
1+
target
72

8-
# Used for bundler
9-
.bundle
10-
vendor/
11-
12-
# rbenv will use this file if "rbenv local" is used
13-
.ruby-version
3+
## IDE
4+
.settings
5+
.project
6+
.buildpath
7+
.idea
8+
*.iml
9+
.vscode
1410

15-
# macOS files
16-
.DS_Store
11+
## OS related
12+
*.DS_Store

Gemfile

Lines changed: 0 additions & 37 deletions
This file was deleted.

Gemfile.lock

Lines changed: 0 additions & 91 deletions
This file was deleted.

README.MD

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ These instructions will get you a copy of the RESTEasy website up and running on
66

77
### Installation
88

9-
Follow this instructions from [github-pages](https://help.github.com/en/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll)
9+
Follow these instructions from [github-pages](https://help.github.com/en/github/working-with-github-pages/testing-your-github-pages-site-locally-with-jekyll)
1010
to start local server and test your change before submit
1111

1212
## Writing blog
@@ -21,7 +21,7 @@ Add a blog entry:
2121
layout: post
2222
title: "Blog Title"
2323
subtitle: ""
24-
date: 2019-10-30 8:07:00
24+
date: 2019-10-30 08:07:00
2525
author: "Java Robot"
2626
---
2727
Blog content line 1
@@ -33,7 +33,3 @@ To announce a release you may need update these content:
3333

3434
- Add news update in [index.md](https://github.com/jimma/resteasy-website/blob/master/index.md)
3535
- Link the download in [downloads.html](https://github.com/jimma/resteasy-website/blob/master/downloads.html) and documentation in [docs.html](https://github.com/jimma/resteasy-website/blob/master/docs.html)
36-
37-
38-
39-

_includes/default.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

_includes/head.html

Lines changed: 0 additions & 29 deletions
This file was deleted.

_includes/news-list.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)