Skip to content

Commit

Permalink
Workflow to update just the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed May 20, 2022
1 parent 87cbe59 commit 47fe56f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Manual Publish Documentation

on: workflow_dispatch

jobs:
publish:
name: Publish Documentation
runs-on: ubuntu-latest
env:
GRADLE_OPTS: "-Xmx6g -Xms4g"
steps:
- uses: actions/checkout@v2
- name: Setup Java 8
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 8
cache: gradle
- name: Get Latest Release
id: latest_version
uses: abatilo/release-info-action@v1.3.0
with:
owner: agorapulse
repo: micronaut-aws-sdk
- name: Publish GitHub Pages
uses: eskatos/gradle-command-action@v2
with:
arguments: migrateImports gitPublishPush -x groovydoc -Pversion=${{ steps.latest_version.outputs.latest_tag }}-micronaut-3.0 -Prelease=true --stacktrace -PmicronautVersion=3.2.3 -PspockVersion=2.0-groovy-3.0 -PgroovyVersion=3.0.9 -Dorg.ajoberstar.grgit.auth.username=${{ secrets.AGORAPULSE_BOT_PERSONAL_TOKEN }}

0 comments on commit 47fe56f

Please sign in to comment.