mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
nit: formatting cli commands in windmill git sync ui (#7058)
This commit is contained in:
@@ -606,17 +606,17 @@ git pull
|
||||
|
||||
{#if !settingsOnly}# Push from git repository to workspace
|
||||
wmill sync push --workspace {$workspaceStore} --repository {gitRepoResourcePath}
|
||||
{:else}
|
||||
# Edit wmill.yaml file
|
||||
{:else}# Edit wmill.yaml file
|
||||
vim wmill.yaml
|
||||
git add wmill.yaml
|
||||
{/if}# Commit changes
|
||||
|
||||
{/if}# Commit changes
|
||||
git commit
|
||||
git push
|
||||
{#if settingsOnly}
|
||||
# Push settings only from git repository or click the pull settings button above{#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath} --promotion main{:else}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath}{/if}{/if}</pre
|
||||
# Push settings only from git repository or click the pull settings button above{#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath} --promotion main{:else}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {gitRepoResourcePath}{/if}{/if}</pre
|
||||
>
|
||||
{#if currentGitSyncSettings?.repositories?.[repoIndex!]?.use_individual_branch && settingsOnly}
|
||||
<div class="text-xs text-primary mt-3">
|
||||
|
||||
@@ -443,8 +443,8 @@ git commit
|
||||
git push
|
||||
|
||||
# Push changes to workspace or click the pull settings button above{#if useIndividualBranch}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path} --promotion main{:else}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path}{/if}</pre
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path} --promotion main{:else}
|
||||
wmill gitsync-settings push --workspace {$workspaceStore} --repository {git_repo_resource_path}{/if}</pre
|
||||
>
|
||||
{#if useIndividualBranch}
|
||||
<div class="text-xs text-primary mt-3">
|
||||
|
||||
Reference in New Issue
Block a user