Skip to content

Commit

Permalink
Setup workflows for publication of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Dingemans committed Apr 25, 2023
1 parent 304b23b commit fe6844c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: PR Build
on:
push:
branches:
- master
- masterXXXX_DISABLED
pull_request:
workflow_dispatch:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snapshot-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ jobs:
cd documentation/snapshot
git config user.email "ktlint@github.com"
git config user.name "Ktlint Release Workflow"
# 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
4 changes: 1 addition & 3 deletions documentation/snapshot/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Welcome to Ktlint (0.50-snapshot-3)

some snapshot update10
# Welcome to Ktlint (0.50-snapshot-4)

<h1 align="center">
<a href="https://pinterest.github.io/ktlint/">
Expand Down
2 changes: 1 addition & 1 deletion documentation/snapshot/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
site_name: Ktlint (0.50-SNAPSHOT-3)
site_name: Ktlint (0.50-SNAPSHOT-4)
site_url: https://pinterest.github.io/ktlint/

site_dir: build/site
Expand Down

0 comments on commit fe6844c

Please sign in to comment.