Skip to content

fix: changed automation method #18

fix: changed automation method

fix: changed automation method #18

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy_github_pages:
runs-on: macos-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '19'
- name: Install dependencies
run: |
brew tap avisi-cloud/tools
brew install structurizr-site-generatr
- name: Build the site
run: structurizr-site-generatr generate-site \
-w src/workspace.dsl \
--assets-dir src/assets \
--branches main \
--default-branch main
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/site
clean: true