.github/workflows/main.yml #27
This file contains hidden or 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
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'release/v2.4' | |
| jobs: | |
| archi_report: | |
| permissions: | |
| contents: write | |
| pages: write | |
| runs-on: ubuntu-latest | |
| name: Deploy Archi report HTML to GitHub Pages | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v2 | |
| - name: Set Archi preferences | |
| run: | | |
| mkdir -p ./.archi/.metadata/.plugins/org.eclipse.core.runtime/.settings | |
| echo "eclipse.preferences.version=1" > "./.archi/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.archimatetool.editor.prefs" | |
| echo "lineJumps=false" >> "./.archi/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.archimatetool.editor.prefs" | |
| - name: Deploy Archi report | |
| id: archi | |
| uses: WoozyMasta/archimate-ci-image@5.7.0-1.0.6 | |
| env: | |
| HOME: ${{ github.workspace }} | |
| with: | |
| archiHtmlReportEnabled: true | |
| archiJasperReportEnabled: true | |
| archiJasperReportFormats: PDF,DOCX | |
| archiCsvReportEnabled: true | |
| archiExportModelEnabled: true | |
| githubToken: ${{ secrets.GITHUB_TOKEN }} |