Skip to content

Commit

Permalink
Merge pull request #28 from agorapulse/chore/sc-74274-workflow-to-upd…
Browse files Browse the repository at this point in the history
…ate-documentation

[sc74274] Workflow to update documentation
  • Loading branch information
musketyr committed May 25, 2022
2 parents e4ef5a1 + 4e1749f commit f7de1a0
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-log4aws
- name: Publish GitHub Pages
uses: eskatos/gradle-command-action@v2
with:
arguments: gitPublishPush -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 f7de1a0

Please sign in to comment.