update 2.1.0-SNAPSHOT #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |