Skip to content

Commit

Permalink
Website test
Browse files Browse the repository at this point in the history
  • Loading branch information
g-goulis committed Sep 22, 2024
1 parent f9f9d97 commit 0ac72ba
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 88 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/FetchChanges.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/deploy-cimet.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy Javadoc with Custom Index

on:
push:
branches:
- dev

jobs:
javadoc:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'

- name: Generate Javadoc
run: mvn javadoc:javadoc

# Copy the custom index.html to the Javadoc output directory
- name: Replace Javadoc index.html with custom file
run: cp docs/index.html target/site/apidocs/index.html

# Deploy Javadoc to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/site/apidocs
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Maven Tests

on:
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1>Hello World! Cimet2</h1>

0 comments on commit 0ac72ba

Please sign in to comment.