Skip to content

Merge pull request #4 from ben-madley-mt/patch-1 #16

Merge pull request #4 from ben-madley-mt/patch-1

Merge pull request #4 from ben-madley-mt/patch-1 #16

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 workspace.dsl -a assets --branches main --default-branch main
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/site
clean: true