Skip to content

docs: update README/CHANGELOG for the encoder-parity PR stack (#53) #135

docs: update README/CHANGELOG for the encoder-parity PR stack (#53)

docs: update README/CHANGELOG for the encoder-parity PR stack (#53) #135

Workflow file for this run

# .github/workflows/docs.yml
#
# Builds Dokka HTML API documentation and deploys it to GitHub Pages on every
# push to main. The site is also built (but not deployed) on pull requests so
# documentation regressions are caught before merge.
#
# URL after deployment: https://meshtastic.github.io/kzstd/
name: Documentation
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
# Only one deployment runs at a time; in-progress deploys are NOT cancelled so a
# concurrent push to main doesn't leave the site in a half-updated state.
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
name: Build Dokka docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up JDK 21
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
java-version: "21"
distribution: temurin
- name: Set up Gradle
uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
with:
develocity-access-key: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Build documentation
run: ./gradlew dokkaGenerate --no-daemon
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: build/dokka/html
deploy:
name: Deploy to GitHub Pages
needs: build
# Deploy only on pushes to main, not on pull requests.
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0