Change diagram generation strategy #51
Workflow file for this run
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: main | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
container: | |
image: structurizr/cli:latest | |
steps: | |
- name: Install git | |
run: apt-get update && apt-get install -y git | |
- name: Mark directory as safe for git | |
run: git config --global --add safe.directory /__w/modeloC4/modeloC4 | |
- uses: actions/checkout@v4 | |
- name: Generate diagrams | |
run: | | |
bash scripts/gerar-diagramas.sh | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Diagramas gerados automaticamente para o repositório ${{ matrix.repo }}" |