
pushdashboards
pushdashboards
yaml
type: "io.kestra.plugin.git.pushdashboards"Examples
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
branchstring
Default
maincloneSubmodulesbooleanstring
commitMessagestring
Default
Add dashboards from flow: {{ flow.id }}connectTimeoutintegerstring
Default
10000dashboardsstringarray
Default
**deletebooleanstring
Default
truedryRunbooleanstring
Default
falsegitConfigobject
gitDirectorystring
Default
_dashboardsnoProxybooleanstring
passphrasestring
passwordstring
privateKeystring
readTimeoutintegerstring
Default
60000