Skip to content

.github/workflows/main.yml #27

.github/workflows/main.yml

.github/workflows/main.yml #27

Workflow file for this run

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 }}