Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 817 Bytes

File metadata and controls

35 lines (25 loc) · 817 Bytes

actions-drawio-cli

Run drawio-desktop in your github actions pipeline!

Usage

See action.yml

Params

  • source - input source file or directory
  • destination - output file or directory
  • format - output file format, default: svg

Example

Better use with actions-checkout and git-auto-commit

steps:
  - uses: actions/checkout@v2
    with:
      ref: ${{ github.head_ref }}
  - uses: severgroup-tt/actions-drawio-cli@v0.0.2
    with:
      source: doc/diagram.drawio
      destination: doc/diagram.svg
  - uses: stefanzweifel/git-auto-commit-action@v4
    with:
      file_pattern: doc/*.svg
      commit_message: Update diagrams