Skip to content

Commit

Permalink
ci: deploy action-updates-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
krzema12 committed Apr 30, 2024
1 parent a822865 commit 04f48e8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/_shared.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ val libraries = listOf(
":shared-internal",
":github-workflows-kt",
":action-binding-generator",
":action-updates-checker",
)
24 changes: 15 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,31 +58,37 @@ jobs:
name: 'Publish '':action-binding-generator'' to Sonatype'
run: './gradlew :action-binding-generator:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache'
- id: 'step-8'
name: 'Publish '':action-updates-checker'' to Sonatype'
run: './gradlew :action-updates-checker:publishToSonatype closeAndReleaseSonatypeStagingRepository --no-configuration-cache'
- id: 'step-9'
name: 'Wait until '':shared-internal'' present in Maven Central'
run: './gradlew :shared-internal:waitUntilLibraryPresentInMavenCentral'
- id: 'step-9'
- id: 'step-10'
name: 'Wait until '':github-workflows-kt'' present in Maven Central'
run: './gradlew :github-workflows-kt:waitUntilLibraryPresentInMavenCentral'
- id: 'step-10'
- id: 'step-11'
name: 'Wait until '':action-binding-generator'' present in Maven Central'
run: './gradlew :action-binding-generator:waitUntilLibraryPresentInMavenCentral'
- id: 'step-11'
run: 'pip install -r docs/requirements.txt'
- id: 'step-12'
name: 'Wait until '':action-updates-checker'' present in Maven Central'
run: './gradlew :action-updates-checker:waitUntilLibraryPresentInMavenCentral'
- id: 'step-13'
run: 'pip install -r docs/requirements.txt'
- id: 'step-14'
name: 'Build Mkdocs docs'
run: 'mkdocs build --site-dir to-gh-pages'
- id: 'step-13'
- id: 'step-15'
uses: 'gradle/actions/setup-gradle@v3'
- id: 'step-14'
- id: 'step-16'
name: 'Generate API docs'
run: './gradlew :github-workflows-kt:dokkaHtml --no-configuration-cache'
- id: 'step-15'
- id: 'step-17'
name: 'Prepare target directory for API docs'
run: 'mkdir -p to-gh-pages/api-docs'
- id: 'step-16'
- id: 'step-18'
name: 'Copy Dokka output to Mkdocs output'
run: 'cp -r github-workflows-kt/build/dokka/html/* to-gh-pages/api-docs'
- id: 'step-17'
- id: 'step-19'
name: 'Deploy merged docs to GitHub Pages'
uses: 'JamesIves/github-pages-deploy-action@v4'
with:
Expand Down

0 comments on commit 04f48e8

Please sign in to comment.