Skip to content

Remove dead links to https://aur.archlinux.org/packages/ktlint/ (#2848) #106

Remove dead links to https://aur.archlinux.org/packages/ktlint/ (#2848)

Remove dead links to https://aur.archlinux.org/packages/ktlint/ (#2848) #106

name: Publish snapshot documentation
on:
push:
branches: ['master']
paths: ['documentation/snapshot/**']
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'pinterest/ktlint'
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0 # fetch all commits/branches
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install mkdocs and mike
run: pip install mkdocs-material mike
- name: Config git
run: |
git config user.email "[email protected]"
git config user.name "Ktlint Release Workflow"
- run: |
cd documentation/snapshot
# The dev-snapshot version has no release number as the version will only be tagged when an official release is build
# This also prevents that multiple snapshot versions of the documentation will be published in parallel
mike deploy --push dev-snapshot