mirror of
https://github.com/philippemerle/KubeDiagrams.git
synced 2026-05-24 10:02:47 +00:00
22 lines
637 B
YAML
22 lines
637 B
YAML
name: "Update Examples"
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-examples:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Checkout repository"
|
|
uses: actions/checkout@v4
|
|
- name: "Update examples used in repository"
|
|
uses: mahyarmirrashed/action-kube-diagrams@main
|
|
with:
|
|
type: "kubernetes"
|
|
args: "-o examples/cassandra/cassandra.png examples/cassandra/cassandra.yml"
|
|
- name: "Commit changes"
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: "chore: update example diagrams"
|
|
file_pattern: "examples/cassandra/*.png"
|