fix changelog #20
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: 📜 dsl docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
# Allow one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
build-docs: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write # to deploy to Pages | |
id-token: write # to verify the deployment originates from an appropriate source | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup jdk | |
uses: graalvm/setup-graalvm@v1 | |
with: | |
version: 'latest' | |
java-version: '17.0.7' | |
distribution: 'graalvm-community' | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
cache: 'maven' | |
- name: dokka | |
run: mvn -B -P dsl-docs dokka:dokka -f core | |
- name: package documentation | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: "core/target/dokka" | |
- name: deploy to github pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |