Skip to content

update 2.0.0-SNAPSHOT #29

update 2.0.0-SNAPSHOT

update 2.0.0-SNAPSHOT #29

name: Publish Calypsonet Terminal Calypso Java API - UML class diagrams to GH pages
on:
push:
branches:
- main
jobs:
publish-diagrams:
runs-on: ubuntu-latest
steps:
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }}
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Update permissions
working-directory: .
run: chmod +x ./.github/scripts/*.sh
- name: Prepare publication locally
working-directory: .
run: ./.github/scripts/prepare_publication.sh
- name: Deploy diagrams to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./${{ github.event.repository.name }}
enable_jekyll: true