pushdashboardspushdashboards
pushdashboardsCertified

yaml
type: "io.kestra.plugin.git.pushdashboards"
yaml
id: push_dashboards
namespace: prod

inputs:
  - id: push
    type: BOOLEAN
    defaults: false

tasks:
  - id: if
    type: io.kestra.plugin.core.flow.If
    condition: "{{ inputs.push == true}}"
    then:
      - id: commit_and_push
        type: io.kestra.plugin.git.PushDashboards
        dashboards: mydashboard # if you prefer templating, you can use "{{ flow.id }}"
        url: https://github.com/kestra-io/scripts
        username: git_username
        password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
        branch: main
        commitMessage: "add mydashboard from {{ flow.namespace ~ '.' ~ flow.id }}"
Properties
Default`username`
Defaultmain
DefaultAdd dashboards from flow: {{ flow.id }}
Default10000
Default**
Defaulttrue
Defaultfalse
Default_dashboards
Default60000