update changelog #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Pages | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🚚 | |
uses: actions/checkout@v4 | |
- name: Set up JDK 13 ☕ | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 13 | |
distribution: 'adopt' | |
- name: Setup Gradle 🐘 | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Generate Coverage Report 📊 | |
if: ${{github.event_name == 'push'}} | |
run: ./gradlew tibiakt-core:koverHtmlReport | |
- name: Generate API documentation 📃 | |
if: ${{github.event_name == 'push'}} | |
run: ./gradlew dokkaHtmlMultiModule | |
- name: Organize files 📁 | |
run: | | |
mv build/dokka public | |
mv tibiakt-core/build/reports/kover/html public/kover | |
- name: Deploy to GitHub Pages🚀 | |
if: ${{github.event_name == 'push'}} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: public |