mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-20 04:53:51 -07:00
Architecture Diagram and Process (#33)
* Use compile mermaid extension * initial Mermaid arch diagram * updating mmd extension * small mmd update * Adding git add step * Expanding acronym * adding branch spec * Add changes * outputting SVG instead as PNG is too small * Add changes * updating readme * Backlog->Roadmap * Add changes * Updating casing for consistency * Updating documentation to specify 'update' section applies just to diagram Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
534f8b2308
commit
54fa016af1
4 changed files with 101 additions and 0 deletions
52
.github/workflows/compile_mermaid.yml
vendored
Normal file
52
.github/workflows/compile_mermaid.yml
vendored
Normal file
|
@ -0,0 +1,52 @@
|
|||
name: 'Compile Mermaid in Markdown'
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**/*.mmd'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Project
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Get Changed Files
|
||||
id: getfile
|
||||
run: |
|
||||
echo "::set-output name=files::$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} | grep -e '.*\.mmd$' | xargs)"
|
||||
|
||||
- name: Print mmd Files Changed
|
||||
run: |
|
||||
echo ${{ steps.getfile.outputs.files }}
|
||||
|
||||
- name: Compile Mermaid Files
|
||||
uses: neenjaw/compile-mermaid-markdown-action@0.3.1
|
||||
with:
|
||||
files: ${{ steps.getfile.outputs.files }}
|
||||
output: '.resources'
|
||||
env:
|
||||
HIDE_CODEBLOCKS: 1
|
||||
ABSOLUTE_IMAGE_LINKS: 1
|
||||
OUTPUT_FILE_TYPE: "svg"
|
||||
|
||||
- name: Show Changes
|
||||
run: |
|
||||
git status
|
||||
|
||||
- name: Commit Files
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git add .
|
||||
git commit -m "Add changes" -a
|
||||
|
||||
- name: Push Changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: ${{ github.ref }}
|
Loading…
Add table
Add a link
Reference in a new issue