Skip to content

Commit

Permalink
Publish DokkaHTml to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram-- committed Mar 2, 2024
1 parent 8cf414b commit 7b548a0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: build

on:
# Trigger the workflow on push or pull request,
push:
branches:
- main
Expand Down Expand Up @@ -59,4 +58,4 @@ jobs:
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Bram--/bggclient
slug: Bram--/bggclient
25 changes: 25 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy
on:
push:
branches:
- main
- release
workflow_dispatch:

permissions:
contents: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: ./gradlew dokkaHtml

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build/dokka/html

0 comments on commit 7b548a0

Please sign in to comment.