Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and deploy Roq site to GitHub Pages

on:
push:
branches:
- main

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Generate Roq Site
uses: quarkiverse/quarkus-roq@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }} # Used to automatically get the GitHub Pages url

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
58 changes: 0 additions & 58 deletions .github/workflows/jekyll.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/testsite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test site build

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn --batch-mode clean test
- name: Archive generated site
uses: actions/upload-artifact@v4
with:
name: generated-site
path: ./target/roq/
24 changes: 10 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# IDEA files
.idea

# Jekyll directories
/.jekyll-cache/
/_site/
target

# Used for bundler
.bundle
vendor/

# rbenv will use this file if "rbenv local" is used
.ruby-version
## IDE
.settings
.project
.buildpath
.idea
*.iml
.vscode

# macOS files
.DS_Store
## OS related
*.DS_Store
37 changes: 0 additions & 37 deletions Gemfile

This file was deleted.

91 changes: 0 additions & 91 deletions Gemfile.lock

This file was deleted.

8 changes: 2 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ These instructions will get you a copy of the RESTEasy website up and running on

### Installation

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

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

- Add news update in [index.md](https://github.com/jimma/resteasy-website/blob/master/index.md)
- 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)




21 changes: 0 additions & 21 deletions _includes/default.html

This file was deleted.

29 changes: 0 additions & 29 deletions _includes/head.html

This file was deleted.

22 changes: 0 additions & 22 deletions _includes/news-list.html

This file was deleted.

Loading